all repos — nixfiles @ a3018e42941249ef2f03bf61d14e7dc6511ace78

System and user configuration, managed by nix and home-manager

nix: stop telling me my flake is a dirty git repository
Alan Pearce alan@alanpearce.eu
Sat, 01 Apr 2023 18:53:25 +0200
commit

a3018e42941249ef2f03bf61d14e7dc6511ace78

parent

a908fff8a36699f2faf8532aa2b8fde2bdd74cec

2 files changed, 2 insertions(+), 0 deletions(-)

jump to
M system/settings/configuration/nix.nixsystem/settings/configuration/nix.nix
@@ -16,6 +16,7 @@ extraOptions = ''       keep-outputs = true
       keep-derivations = true
       experimental-features = nix-command flakes
+      warn-dirty = false
     '';
 
     gc = {
M system/settings/darwin.nixsystem/settings/darwin.nix
@@ -17,6 +17,7 @@ options = "--max-freed $((25 * 1024**3 - 1024 * $(df -P -k /nix/store | tail -n 1 | awk '{ print $4 }')))";     };
     settings.extra-platforms = "x86_64-darwin aarch64-darwin";
     settings.experimental-features = "nix-command flakes";
+    settings.warn-dirty = false;
   };
 
   nixpkgs.system = "x86_64-darwin";