diff options
Diffstat (limited to 'hosts/nixpad/configuration.nix')
-rw-r--r-- | hosts/nixpad/configuration.nix | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/hosts/nixpad/configuration.nix b/hosts/nixpad/configuration.nix index 5876618..3f7ea27 100644 --- a/hosts/nixpad/configuration.nix +++ b/hosts/nixpad/configuration.nix @@ -65,6 +65,13 @@ # Enable experimental features nix.settings.extra-experimental-features = ["flakes" "nix-command"]; + # Enable automatic gc + nix.gc = { + automatic = true; + dates = "weekly"; + options = "--delete-older-than 30d"; + }; + # Enable CUPS to print documents. services.printing.enable = true; |