diff --git a/configuration.nix b/configuration.nix index 00d8e64..fc608e0 100644 --- a/configuration.nix +++ b/configuration.nix @@ -86,6 +86,13 @@ nix = { # optimize the store optimise.automatic = true; + + # garbage collection + gc = { + automatic = true; + dates = "weekly"; + options = "--delete-older-than 7d"; + }; }; hardware.intelgpu.driver = "xe";