summaryrefslogtreecommitdiff
path: root/hosts/common
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/common')
-rw-r--r--hosts/common/default.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/hosts/common/default.nix b/hosts/common/default.nix
index df576df..3ec95d5 100644
--- a/hosts/common/default.nix
+++ b/hosts/common/default.nix
@@ -10,5 +10,10 @@ _: {
./users.nix
];
+ nix.gc = {
+ automatic = true;
+ dates = "weekly";
+ options = "--delete-older-than 7d";
+ };
# config.services.kmscon.enable = true;
}