summaryrefslogtreecommitdiff
path: root/flora/services
diff options
context:
space:
mode:
authorstuebinm2022-06-13 23:47:05 +0200
committerstuebinm2022-06-13 23:47:05 +0200
commit79516af194d2d407cb04c85f997c58b61304ef37 (patch)
treedab6cfb68db6431a3c560ac1beb63640e496eaf9 /flora/services
parentda505622a045cb78770b0fb700ddc57a4d5ad349 (diff)
forks section for cgit
should make that list less confusing, i hope
Diffstat (limited to 'flora/services')
-rw-r--r--flora/services/cgit.nix8
1 files changed, 8 insertions, 0 deletions
diff --git a/flora/services/cgit.nix b/flora/services/cgit.nix
index 094bfd5..cc05d5c 100644
--- a/flora/services/cgit.nix
+++ b/flora/services/cgit.nix
@@ -12,6 +12,11 @@
isReadOnly = true;
};
+ bindMounts."/forks" = {
+ hostPath = "/var/git/forks";
+ isReadOnly = true;
+ };
+
config = {pkgs, config, ...}: {
services.lighttpd.enable = true;
services.lighttpd.extraConfig = ''server.use-ipv6 = "enable"'';
@@ -67,6 +72,9 @@
cache-scanrc-ttl=1
scan-path=/git
+
+ section=Forks
+ scan-path=/forks
'';
};