summary refs log tree commit diff stats
path: root/system
diff options
context:
space:
mode:
authorAlan Pearce2024-08-27 14:51:35 +0200
committerAlan Pearce2024-08-27 14:51:35 +0200
commitc28471ee4f59e966c0613b80e081e8456f42ca34 (patch)
treecac9f421b1610b5b1a759a9bd855fdd93e4d13b5 /system
parent09219f954b753a335c7fce76be0c12c95b493d27 (diff)
downloadnixfiles-c28471ee4f59e966c0613b80e081e8456f42ca34.tar.lz
nixfiles-c28471ee4f59e966c0613b80e081e8456f42ca34.tar.zst
nixfiles-c28471ee4f59e966c0613b80e081e8456f42ca34.zip
git-server: follow nixpkgs fastcgi option schema update
Diffstat (limited to 'system')
-rw-r--r--system/settings/services/git-server.nix5
1 files changed, 2 insertions, 3 deletions
diff --git a/system/settings/services/git-server.nix b/system/settings/services/git-server.nix
index 72c441f5..1560e8f5 100644
--- a/system/settings/services/git-server.nix
+++ b/system/settings/services/git-server.nix
@@ -64,7 +64,7 @@ let
   mkMirrorWants = repo: map (target: "mirror-to-${target}@${repo}.path");
 in
 {
-  services.fcgiwrap.gitolite = {
+  services.fcgiwrap.instances.gitolite = {
     process = {
       user = "gitolite";
       group = "gitolite";
@@ -117,7 +117,7 @@ in
   services.caddy.virtualHosts = {
     "git.alanpearce.eu" =
       let
-        fcgi = config.services.fcgiwrap.gitolite;
+        fcgi = config.services.fcgiwrap.instances.gitolite;
         fcgisocket = "${fcgi.socket.type}/${fcgi.socket.address}";
       in
       {
@@ -176,7 +176,6 @@ in
                   enable-log-linecount=1
                   max-stats=year
                   snapshots=tar.lz tar.zst zip
-                  cache-size=10240
                   enable-http-clone=1
                   enable-commit-graph=1
                   mimetype-file=${pkgs.nginx}/conf/mime.types