summaryrefslogtreecommitdiff
path: root/nix/modules/gitweb.nix
diff options
context:
space:
mode:
authorPreston Pan <ret2pop@gmail.com>2026-02-11 14:43:01 -0800
committerPreston Pan <ret2pop@gmail.com>2026-02-11 14:43:01 -0800
commit6a4f95482fa2c0faeafa028eae164d00c6418ac3 (patch)
tree8f87a90ae697b1a1ea6c3ed63c59d5e22de55425 /nix/modules/gitweb.nix
parenta3106cdc192a64daa6421dc63ab3dd6000bdc112 (diff)
add vps stuff; fix internet issues plauging my devices
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";
+'';
};
}