diff --git a/commit_text b/commit_text index f6fe88a..6586cdd 100644 --- a/commit_text +++ b/commit_text @@ -1 +1 @@ -Removed nh +Added nix automatic gc diff --git a/configuration.nix b/configuration.nix index 9237210..e426cf3 100644 --- a/configuration.nix +++ b/configuration.nix @@ -120,6 +120,11 @@ in "flakes" ]; nix.settings.auto-optimise-store = true; + nix.gc = { + automatic = true; + dates = "weekly"; + options = "--delete-older-than 7d"; + }; # Bootloader. boot.loader.systemd-boot.enable = false;