diff --git a/configuration.nix b/configuration.nix index 07e55a5..70ebd21 100644 --- a/configuration.nix +++ b/configuration.nix @@ -96,6 +96,13 @@ nix = { package = pkgs.nixFlakes; extraOptions = "experimental-features = nix-command flakes"; + + autoOptimiseStore = true; + gc = { + automatic = true; + dates = "weekly"; + options = "--delete-older-than 30d"; + }; }; system.stateVersion = "22.05";