diff --git a/configuration.nix b/configuration.nix index 72a46e9..2a5bf0d 100644 --- a/configuration.nix +++ b/configuration.nix @@ -119,6 +119,13 @@ extraOptions = '' experimental-features = nix-command flakes ''; + + gc = { + automatic = true; + persistent = true; + dates = "weekly"; + options = "--delete-older-than 7d"; + }; }; system = {