diff options
author | Anthony Wang | 2025-04-11 20:30:29 -0400 |
---|---|---|
committer | Anthony Wang | 2025-04-11 20:30:29 -0400 |
commit | 8a9543c4af52dd58b0e3bfda4be5e21e368a7c32 (patch) | |
tree | a3d941b27b381e6e492fb4da7a9149b5bb564702 | |
parent | c37114d46d930fc6fb788aae34dea7f04e41a207 (diff) |
-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" ]; |