summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenny Ballou <kballou@devnulllabs.io>2020-11-20 00:39:01 -0700
committerKenny Ballou <kballou@devnulllabs.io>2020-11-20 00:39:01 -0700
commitcc09439a75a81ce070a103c717642d59b65255e3 (patch)
tree67cb9e500ef667fb4cb2981486128860ecfd1f0e
parente255558d34028a366f4509a73377ef65b6834c6e (diff)
downloadcfg.nix-cc09439a75a81ce070a103c717642d59b65255e3.tar.gz
cfg.nix-cc09439a75a81ce070a103c717642d59b65255e3.tar.xz
phenex: override GC window
Only keep 7 days of cache. Signed-off-by: Kenny Ballou <kballou@devnulllabs.io>
-rw-r--r--phenex/configuration.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/phenex/configuration.nix b/phenex/configuration.nix
index 88adbb0..34fc3d8 100644
--- a/phenex/configuration.nix
+++ b/phenex/configuration.nix
@@ -66,6 +66,9 @@
services.xserver.displayManager.gdm.wayland = false;
+ # Only keep a week instead of 2
+ nix.gc.options = "--delete-older-than 7d";
+
# This value determines the NixOS release with which your system is to be
# compatible, in order to avoid breaking some software such as database
# servers. You should change this only after NixOS release notes say you