summaryrefslogtreecommitdiff
path: root/hosts/base.nix
diff options
context:
space:
mode:
authory <s>2024-08-29 05:36:04 +0700
committery <s>2024-08-29 05:36:04 +0700
commit77925a0afa7c237e99cd69d2a94c47c140483f84 (patch)
treeb45c6915a3729df1ead742f2ddfc3a130fc472b1 /hosts/base.nix
parent71b84ace159475ab4fce675d706718fcc96d3ad3 (diff)
m
Diffstat (limited to 'hosts/base.nix')
-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