X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=nixops%2Fmodules%2Fwebsites%2Ftools%2Fgit%2Fdefault.nix;h=2aa86cda6f9a72557f122e02a8245f99eb7db123;hb=a95ab089420d6edf24f22500dabf7876d329dc91;hp=91aa1d042c7f19b41d52466b77017af8fe48ca10;hpb=7da3ceece7fe6c49046e97f37fc353db9b8a981c;p=perso%2FImmae%2FConfig%2FNix.git diff --git a/nixops/modules/websites/tools/git/default.nix b/nixops/modules/websites/tools/git/default.nix index 91aa1d0..2aa86cd 100644 --- a/nixops/modules/websites/tools/git/default.nix +++ b/nixops/modules/websites/tools/git/default.nix @@ -26,11 +26,16 @@ in { services.myWebsites.tools.modules = gitweb.apache.modules ++ mantisbt.apache.modules; + system.extraSystemBuilderCmds = '' + mkdir -p $out/webapps + ln -s ${gitweb.webRoot} $out/webapps/${gitweb.apache.webappName} + ln -s ${mantisbt.webRoot} $out/webapps/${mantisbt.apache.webappName} + ''; services.myWebsites.tools.vhostConfs.git = { certName = "eldiron"; hosts = ["git.immae.eu" ]; - root = gitweb.webRoot; + root = gitweb.apache.root; extraConfig = [ gitweb.apache.vhostConf mantisbt.apache.vhostConf