diff --git a/hosts/hime/default.nix b/hosts/hime/default.nix index 300c2cb..e6ecee3 100644 --- a/hosts/hime/default.nix +++ b/hosts/hime/default.nix @@ -84,6 +84,12 @@ experimental-features = nix-command flakes warn-dirty = false ''; + settings.auto-optimise-store = true; + gc = { + automatic = true; + dates = "weekly"; + options = "--delete-older-than 7d"; + }; }; system.stateVersion = "23.05"; diff --git a/hosts/sutakku/default.nix b/hosts/sutakku/default.nix index 0d6cb67..5cddaff 100644 --- a/hosts/sutakku/default.nix +++ b/hosts/sutakku/default.nix @@ -77,6 +77,12 @@ experimental-features = nix-command flakes warn-dirty = false ''; + settings.auto-optimise-store = true; + gc = { + automatic = true; + dates = "weekly"; + options = "delete-older-than 7d"; + }; }; system.stateVersion = "23.05";