treewide: use configured nginx package

This commit is contained in:
Sandro Jäckel
2022-02-08 12:13:30 +01:00
parent 3a98980e79
commit ae66e2d5ec
11 changed files with 12 additions and 12 deletions

View File

@@ -79,7 +79,7 @@ in
};
locations."${cfg.location}/" = {
extraConfig = ''
include ${pkgs.nginx}/conf/fastcgi_params;
include ${config.services.nginx.package}/conf/fastcgi_params;
fastcgi_param GITWEB_CONFIG ${gitwebConfig.gitwebConfigFile};
fastcgi_pass unix:/run/gitweb/gitweb.sock;
'';