summaryrefslogtreecommitdiff
path: root/hosts
diff options
context:
space:
mode:
Diffstat (limited to 'hosts')
-rw-r--r--hosts/base.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/hosts/base.nix b/hosts/base.nix
index 3cffa00..7bd0ed0 100644
--- a/hosts/base.nix
+++ b/hosts/base.nix
@@ -1,6 +1,11 @@
{pkgs, ...}: {
# enable flakes
nix = {
+ gc = {
+ automatic = true;
+ dates = "weekly";
+ options = "--delete-older-than 7d";
+ };
package = pkgs.nixFlakes;
extraOptions = ''
experimental-features = nix-command flakes