From 79516af194d2d407cb04c85f997c58b61304ef37 Mon Sep 17 00:00:00 2001 From: stuebinm Date: Mon, 13 Jun 2022 23:47:05 +0200 Subject: forks section for cgit should make that list less confusing, i hope --- flora/services/cgit.nix | 8 ++++++++ 1 file changed, 8 insertions(+) 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 ''; }; -- cgit v1.2.3