summaryrefslogtreecommitdiffstats
path: root/krebs
diff options
context:
space:
mode:
authorlassulus <git@lassul.us>2024-09-08 01:02:49 +0200
committerlassulus <git@lassul.us>2024-09-08 01:02:49 +0200
commit58ff7542044daf5645961d38e58d49c294243f64 (patch)
treeba6e063fdfd9b52f0514cf6533e7bdeee790f3ca /krebs
parent7061e9c14dc44d028c36456535245889488ef95a (diff)
k3 git: use new fcgiwrap instances module
Diffstat (limited to 'krebs')
-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