all repos — nixfiles @ c28471ee4f59e966c0613b80e081e8456f42ca34

System and user configuration, managed by nix and home-manager

git-server: follow nixpkgs fastcgi option schema update

Alan Pearce
commit

c28471ee4f59e966c0613b80e081e8456f42ca34

parent

09219f954b753a335c7fce76be0c12c95b493d27

2 files changed, 7 insertions(+), 3 deletions(-)

jump to
M .dir-locals.el.dir-locals.el
@@ -15,6 +15,11 @@ ((nil . ((ssh-deploy-root-local . "/home/alan/projects/alanpearce.eu/nixfiles/")
(ssh-deploy-root-remote . "/sshx:linde:projects/alanpearce.eu/nixfiles/") (ssh-deploy-on-explicit-save . 1) (ssh-deploy-async . 1))))) + ("system/settings/services/git-server.nix" . + ((nil . ((ssh-deploy-root-local . "/home/alan/projects/alanpearce.eu/nixfiles/") + (ssh-deploy-root-remote . "/sshx:linde:projects/alanpearce.eu/nixfiles/") + (ssh-deploy-on-explicit-save . 1) + (ssh-deploy-async . 1))))) ("system/linde-hardware.nix" . ((nil . ((ssh-deploy-root-local . "/home/alan/projects/alanpearce.eu/nixfiles/") (ssh-deploy-root-remote . "/sshx:linde:projects/alanpearce.eu/nixfiles/")
M system/settings/services/git-server.nixsystem/settings/services/git-server.nix
@@ -64,7 +64,7 @@
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 @@
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 @@ enable-follow-links=0
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