summaryrefslogtreecommitdiffstats
path: root/krebs/3modules/git.nix
diff options
context:
space:
mode:
Diffstat (limited to 'krebs/3modules/git.nix')
-rw-r--r--krebs/3modules/git.nix12
1 files changed, 7 insertions, 5 deletions
diff --git a/krebs/3modules/git.nix b/krebs/3modules/git.nix
index 961b217e1..9f289fba7 100644
--- a/krebs/3modules/git.nix
+++ b/krebs/3modules/git.nix
@@ -391,12 +391,14 @@ let
};
};
- services.fcgiwrap = {
+ services.fcgiwrap.instances.cgit = {
enable = true;
- user = cfg.cgit.fcgiwrap.user.name;
- group = cfg.cgit.fcgiwrap.group.name;
- # socketAddress = "/run/fcgiwrap.sock" (default)
- # socketType = "unix" (default)
+ process.user = cfg.cgit.fcgiwrap.user.name;
+ socket.user = cfg.cgit.fcgiwrap.user.name;
+ process.group = cfg.cgit.fcgiwrap.group.name;
+ socket.group = cfg.cgit.fcgiwrap.group.name;
+ socket.address = "/run/fcgiwrap.sock";
+ # socket.type = "unix" (default)
};
environment.etc."cgitrc".text = let