X-Git-Url: https://git.immae.eu/?p=perso%2FImmae%2FConfig%2FNix.git;a=blobdiff_plain;f=modules%2Fprivate%2Fwebsites%2Ftools%2Fgit%2Fgitweb.nix;fp=modules%2Fprivate%2Fwebsites%2Ftools%2Fgit%2Fgitweb.nix;h=ff34da51f8e577afba64acb8089e897f5b50d619;hp=dab0c9eaf1f6f677ece4d394c3eec9190fd4cf23;hb=750fe5a43b957b91a26069cf8a4fe19fc7b2633c;hpb=fcbdf67afe262bf6b35a4047956b2f8c12a04cb1 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 @@ { gitweb, writeText, stdenv, coreutils, writeScript, gitolite, git, cgit, gitoliteDir, mailcap, highlight }: rec { varDir = gitoliteDir; - webRoot = gitweb; config = writeText "gitweb.conf" '' $git_temp = "/tmp"; @@ -77,8 +76,7 @@ rec { user = "wwwrun"; group = "wwwrun"; modules = [ "cgid" ]; - webappName = "tools_gitweb"; - root = "/run/current-system/webapps/${webappName}"; + root = gitweb; vhostConf = '' SetEnv GIT_PROJECT_ROOT ${varDir}/repositories/ ScriptAliasMatch \