summary refs log tree commit diff
path: root/nixos/modules/services/misc/sourcehut/git.nix
diff options
context:
space:
mode:
authorSandro Jäckel <sandro.jaeckel@gmail.com>2022-02-08 12:13:30 +0100
committerSandro Jäckel <sandro.jaeckel@gmail.com>2022-02-08 12:13:30 +0100
commitae66e2d5ec98e70f705382afef21e79483f73fc3 (patch)
tree349316670c4f398aa5d606042b40856ace48adb3 /nixos/modules/services/misc/sourcehut/git.nix
parent3a98980e79fcdf1430059e3364c65318a6df52e8 (diff)
downloadnixpkgs-ae66e2d5ec98e70f705382afef21e79483f73fc3.tar
nixpkgs-ae66e2d5ec98e70f705382afef21e79483f73fc3.tar.gz
nixpkgs-ae66e2d5ec98e70f705382afef21e79483f73fc3.tar.bz2
nixpkgs-ae66e2d5ec98e70f705382afef21e79483f73fc3.tar.lz
nixpkgs-ae66e2d5ec98e70f705382afef21e79483f73fc3.tar.xz
nixpkgs-ae66e2d5ec98e70f705382afef21e79483f73fc3.tar.zst
nixpkgs-ae66e2d5ec98e70f705382afef21e79483f73fc3.zip
treewide: use configured nginx package
Diffstat (limited to 'nixos/modules/services/misc/sourcehut/git.nix')
-rw-r--r--nixos/modules/services/misc/sourcehut/git.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/misc/sourcehut/git.nix b/nixos/modules/services/misc/sourcehut/git.nix
index 5ce16df8cd8..ff110905d18 100644
--- a/nixos/modules/services/misc/sourcehut/git.nix
+++ b/nixos/modules/services/misc/sourcehut/git.nix
@@ -207,7 +207,7 @@ in
                 fastcgi_param PATH_INFO $uri;
                 fastcgi_param GIT_PROJECT_ROOT $document_root;
                 fastcgi_read_timeout 500s;
-                include ${pkgs.nginx}/conf/fastcgi_params;
+                include ${config.services.nginx.package}/conf/fastcgi_params;
                 gzip off;
             }
       '';