diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2021-10-22 20:07:14 +0200 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2021-10-23 01:43:33 +0200 |
commit | 750fe5a43b957b91a26069cf8a4fe19fc7b2633c (patch) | |
tree | 79b4fb8d49ad7a38884e8453349635a7f715ad7e /modules/private/websites/tools/git/gitweb.nix | |
parent | fcbdf67afe262bf6b35a4047956b2f8c12a04cb1 (diff) | |
download | Nix-750fe5a43b957b91a26069cf8a4fe19fc7b2633c.tar.gz Nix-750fe5a43b957b91a26069cf8a4fe19fc7b2633c.tar.zst Nix-750fe5a43b957b91a26069cf8a4fe19fc7b2633c.zip |
Remove webappdirs
Diffstat (limited to 'modules/private/websites/tools/git/gitweb.nix')
-rw-r--r-- | modules/private/websites/tools/git/gitweb.nix | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/modules/private/websites/tools/git/gitweb.nix b/modules/private/websites/tools/git/gitweb.nix index dab0c9e..ff34da5 100644 --- a/modules/private/websites/tools/git/gitweb.nix +++ b/modules/private/websites/tools/git/gitweb.nix | |||
@@ -1,7 +1,6 @@ | |||
1 | { gitweb, writeText, stdenv, coreutils, writeScript, gitolite, git, cgit, gitoliteDir, mailcap, highlight }: | 1 | { gitweb, writeText, stdenv, coreutils, writeScript, gitolite, git, cgit, gitoliteDir, mailcap, highlight }: |
2 | rec { | 2 | rec { |
3 | varDir = gitoliteDir; | 3 | varDir = gitoliteDir; |
4 | webRoot = gitweb; | ||
5 | config = writeText "gitweb.conf" '' | 4 | config = writeText "gitweb.conf" '' |
6 | $git_temp = "/tmp"; | 5 | $git_temp = "/tmp"; |
7 | 6 | ||
@@ -77,8 +76,7 @@ rec { | |||
77 | user = "wwwrun"; | 76 | user = "wwwrun"; |
78 | group = "wwwrun"; | 77 | group = "wwwrun"; |
79 | modules = [ "cgid" ]; | 78 | modules = [ "cgid" ]; |
80 | webappName = "tools_gitweb"; | 79 | root = gitweb; |
81 | root = "/run/current-system/webapps/${webappName}"; | ||
82 | vhostConf = '' | 80 | vhostConf = '' |
83 | SetEnv GIT_PROJECT_ROOT ${varDir}/repositories/ | 81 | SetEnv GIT_PROJECT_ROOT ${varDir}/repositories/ |
84 | ScriptAliasMatch \ | 82 | ScriptAliasMatch \ |