aboutsummaryrefslogtreecommitdiff
path: root/nixops/modules/websites/tools/git/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixops/modules/websites/tools/git/default.nix')
-rw-r--r--nixops/modules/websites/tools/git/default.nix7
1 files changed, 6 insertions, 1 deletions
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 {
26 services.myWebsites.tools.modules = 26 services.myWebsites.tools.modules =
27 gitweb.apache.modules ++ 27 gitweb.apache.modules ++
28 mantisbt.apache.modules; 28 mantisbt.apache.modules;
29 system.extraSystemBuilderCmds = ''
30 mkdir -p $out/webapps
31 ln -s ${gitweb.webRoot} $out/webapps/${gitweb.apache.webappName}
32 ln -s ${mantisbt.webRoot} $out/webapps/${mantisbt.apache.webappName}
33 '';
29 34
30 services.myWebsites.tools.vhostConfs.git = { 35 services.myWebsites.tools.vhostConfs.git = {
31 certName = "eldiron"; 36 certName = "eldiron";
32 hosts = ["git.immae.eu" ]; 37 hosts = ["git.immae.eu" ];
33 root = gitweb.webRoot; 38 root = gitweb.apache.root;
34 extraConfig = [ 39 extraConfig = [
35 gitweb.apache.vhostConf 40 gitweb.apache.vhostConf
36 mantisbt.apache.vhostConf 41 mantisbt.apache.vhostConf