aboutsummaryrefslogtreecommitdiff
path: root/nixos/configurations
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2024-07-09 10:42:52 +0200
committerKarel Kočí <cynerd@email.cz>2024-07-09 10:42:52 +0200
commit4349cada1a0637db67501354c7d8f2d14fff0650 (patch)
treef19f1347bca2c6e66d3d253ce8a597666d2b2077 /nixos/configurations
parentd973ed45edc82c5e4ce40d9454e29d6f671b931c (diff)
downloadnixos-personal-4349cada1a0637db67501354c7d8f2d14fff0650.tar.gz
nixos-personal-4349cada1a0637db67501354c7d8f2d14fff0650.tar.bz2
nixos-personal-4349cada1a0637db67501354c7d8f2d14fff0650.zip
nixos: tweak some of the packages
Diffstat (limited to 'nixos/configurations')
-rw-r--r--nixos/configurations/lipwig.nix7
1 files changed, 4 insertions, 3 deletions
diff --git a/nixos/configurations/lipwig.nix b/nixos/configurations/lipwig.nix
index 367275a..6368ebc 100644
--- a/nixos/configurations/lipwig.nix
+++ b/nixos/configurations/lipwig.nix
@@ -107,7 +107,7 @@
root = "${pkgs.cgit}/cgit";
locations."/".tryFiles = "$uri @cgit";
locations."@cgit".extraConfig = ''
- fastcgi_pass unix:${config.services.fcgiwrap.nginx.socket.address};
+ fastcgi_pass unix:${config.services.fcgiwrap.cgit.socket.address};
fastcgi_param SCRIPT_FILENAME ${pkgs.cgit}/cgit/cgit.cgi;
fastcgi_param PATH_INFO $uri;
fastcgi_param QUERY_STRING $args;
@@ -137,8 +137,9 @@
};
};
};
- services.fcgiwrap.nginx = {
- socket.group = config.services.nginx.group;
+ services.fcgiwrap.cgit = {
+ process.user = "git";
+ socket.user = config.services.nginx.group;
};
security.acme = {
acceptTerms = true;