summaryrefslogtreecommitdiff
path: root/common/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'common/default.nix')
-rw-r--r--common/default.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/common/default.nix b/common/default.nix
index 694c8f0..37804b9 100644
--- a/common/default.nix
+++ b/common/default.nix
@@ -81,6 +81,11 @@
nix = {
optimise.automatic = true;
+ gc = {
+ automatic = true;
+ dates = "daily";
+ options = "--delete-older-than 30d";
+ };
settings.experimental-features = [
"nix-command"
"flakes"