diff options
-rw-r--r-- | configuration.nix | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/configuration.nix b/configuration.nix index 8cc741c..92c1c92 100644 --- a/configuration.nix +++ b/configuration.nix @@ -15,6 +15,17 @@ ./hardware-configuration.nix ]; + # Stop the Nix store from becoming 100GB + nix.gc = { + automatic = true; + dates = "weekly"; + options = "--delete-older-than 7d"; + }; + nix.optimise = { + automatic = true; + # Not sure why the inconsistency... + dates = [ "weekly" ]; + }; # Don't trash my $HOME please nix.settings.use-xdg-base-directories = true; # Fancy stuff yay @@ -22,6 +33,8 @@ "nix-command" "flakes" ]; + + # Overlays! Fixed points! nixpkgs.overlays = [ (import ./overlays.nix) ]; # Use a better rebuild tool instead of a Bash script @@ -45,6 +58,7 @@ # Oh noes I'm leaking personal info help mayday disaster alert time.timeZone = "US/Eastern"; + # I NEED ZSTD # NixOS is a disk destroyer fileSystems = { "/".options = [ "compress=zstd" ]; |