diff options
Diffstat (limited to 'hosts')
-rw-r--r-- | hosts/ahmed/configuration.nix | 1 | ||||
-rw-r--r-- | hosts/ahmed/git.linus.onl/default.nix | 8 |
2 files changed, 5 insertions, 4 deletions
diff --git a/hosts/ahmed/configuration.nix b/hosts/ahmed/configuration.nix index 541a109..cd37994 100644 --- a/hosts/ahmed/configuration.nix +++ b/hosts/ahmed/configuration.nix @@ -98,7 +98,6 @@ allowReboot = true; }; - # This value determines the NixOS release from which the default # settings for stateful data, like file locations and database versions # on your system were taken. It's perfectly fine and recommended to leave diff --git a/hosts/ahmed/git.linus.onl/default.nix b/hosts/ahmed/git.linus.onl/default.nix index bf9fe0b..fcee268 100644 --- a/hosts/ahmed/git.linus.onl/default.nix +++ b/hosts/ahmed/git.linus.onl/default.nix @@ -91,9 +91,11 @@ in { services.nginx.virtualHosts."git.linus.onl" = { locations."~ /.+/(info/refs|git-upload-pack)".fastcgiParams = { SCRIPT_FILENAME = lib.mkForce "${pkgs.git.overrideAttrs (old: { - patches = (old.patches or []) ++ [ - ./no-ownership-check-for-root.patch - ]; + patches = + (old.patches or []) + ++ [ + ./no-ownership-check-for-root.patch + ]; })}/libexec/git-core/git-http-backend"; GIT_NO_CHECK_OWNERSHIP = "1"; }; |