diff --git a/system/configuration.nix b/system/configuration.nix index e0bf560..c736659 100644 --- a/system/configuration.nix +++ b/system/configuration.nix @@ -66,6 +66,11 @@ in nix = { extraOptions = "experimental-features = nix-command flakes"; package = pkgs.nixFlakes; + gc = { + automatic = true; + dates = "weekly"; + options = "--delete-older-than 30d"; + }; }; services.xserver.enable = true;