summaryrefslogtreecommitdiff
path: root/nix/modules/gitweb.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nix/modules/gitweb.nix')
-rw-r--r--nix/modules/gitweb.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/nix/modules/gitweb.nix b/nix/modules/gitweb.nix
index 51cff87..c98e4c6 100644
--- a/nix/modules/gitweb.nix
+++ b/nix/modules/gitweb.nix
@@ -1,7 +1,10 @@
{ lib, config, ... }:
{
services.gitweb = {
- gitwebTheme = true;
+ gitwebTheme = lib.mkDefault config.monorepo.profiles.server.enable;
projectroot = "/srv/git/";
+ extraConfig = ''
+our $export_ok = "git-daemon-export-ok";
+'';
};
}