diff --git a/home/default.nix b/home/default.nix index 09a7743..0118d22 100644 --- a/home/default.nix +++ b/home/default.nix @@ -19,11 +19,21 @@ # Tell nix what version it is. nix.package = pkgs.nix; - # Enable flakes. - nix.settings.experimental-features = [ - "nix-command" - "flakes" - ]; + nix = { + # Enable flakes. + settings.experimental-features = [ + "nix-command" + "flakes" + ]; + + # Disable that annoying "git tree is dirty" warning. + extraOptions = '' + warn-dirty = false + ''; + + # Garbage collection. + gc.automatic = true; + }; xdg.configFile."nixpkgs/config.nix".text = # nix ''