summary refs log tree commit diff stats
path: root/system
diff options
context:
space:
mode:
authorAlan Pearce2023-04-01 18:53:25 +0200
committerAlan Pearce2023-04-01 18:53:25 +0200
commita3018e42941249ef2f03bf61d14e7dc6511ace78 (patch)
tree873eea460aa6de920ea56f5f4888df8024bbf3b7 /system
parenta908fff8a36699f2faf8532aa2b8fde2bdd74cec (diff)
downloadnixfiles-a3018e42941249ef2f03bf61d14e7dc6511ace78.tar.lz
nixfiles-a3018e42941249ef2f03bf61d14e7dc6511ace78.tar.zst
nixfiles-a3018e42941249ef2f03bf61d14e7dc6511ace78.zip
nix: stop telling me my flake is a dirty git repository
Diffstat (limited to 'system')
-rw-r--r--system/settings/configuration/nix.nix1
-rw-r--r--system/settings/darwin.nix1
2 files changed, 2 insertions, 0 deletions
diff --git a/system/settings/configuration/nix.nix b/system/settings/configuration/nix.nix
index 583f7982..ddefdfd8 100644
--- a/system/settings/configuration/nix.nix
+++ b/system/settings/configuration/nix.nix
@@ -16,6 +16,7 @@
       keep-outputs = true
       keep-derivations = true
       experimental-features = nix-command flakes
+      warn-dirty = false
     '';
 
     gc = {
diff --git a/system/settings/darwin.nix b/system/settings/darwin.nix
index ed890f13..cdcdb413 100644
--- a/system/settings/darwin.nix
+++ b/system/settings/darwin.nix
@@ -17,6 +17,7 @@
     };
     settings.extra-platforms = "x86_64-darwin aarch64-darwin";
     settings.experimental-features = "nix-command flakes";
+    settings.warn-dirty = false;
   };
 
   nixpkgs.system = "x86_64-darwin";