summaryrefslogtreecommitdiff
path: root/hosts/ahmed
diff options
context:
space:
mode:
authorLinnnus <[email protected]>2024-08-01 18:15:22 +0200
committerLinnnus <[email protected]>2024-08-01 18:15:22 +0200
commit2de2607b0613c401d2e6e6d51c88b7138a40b430 (patch)
treede7c7435b9bc1d9b64a6601054093b3cd9c69911 /hosts/ahmed
parent2077a6e40045066ed99a9ae8c23a224113bf885f (diff)
chore ass formatting
Diffstat (limited to 'hosts/ahmed')
-rw-r--r--hosts/ahmed/configuration.nix1
-rw-r--r--hosts/ahmed/git.linus.onl/default.nix8
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";
};