diff options
author | stuebinm | 2022-06-13 23:47:05 +0200 |
---|---|---|
committer | stuebinm | 2022-06-13 23:47:05 +0200 |
commit | 79516af194d2d407cb04c85f997c58b61304ef37 (patch) | |
tree | dab6cfb68db6431a3c560ac1beb63640e496eaf9 | |
parent | da505622a045cb78770b0fb700ddc57a4d5ad349 (diff) |
forks section for cgit
should make that list less confusing, i hope
-rw-r--r-- | flora/services/cgit.nix | 8 |
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 ''; }; |