summaryrefslogtreecommitdiff
path: root/hosts/surtr
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2021-05-29 21:32:42 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2021-05-29 21:32:42 +0200
commit0f031a3992336c946f3489d70514ed06743dbb26 (patch)
tree48d521bd21ce0a1298db5fe7607622acb427d007 /hosts/surtr
parent4f7d96e5a5ddc14f60939adb98b949d24e0a700f (diff)
downloadnixos-0f031a3992336c946f3489d70514ed06743dbb26.tar
nixos-0f031a3992336c946f3489d70514ed06743dbb26.tar.gz
nixos-0f031a3992336c946f3489d70514ed06743dbb26.tar.bz2
nixos-0f031a3992336c946f3489d70514ed06743dbb26.tar.xz
nixos-0f031a3992336c946f3489d70514ed06743dbb26.zip
surtr: nix.gc
Diffstat (limited to 'hosts/surtr')
-rw-r--r--hosts/surtr/default.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/hosts/surtr/default.nix b/hosts/surtr/default.nix
index 828f3361..85723005 100644
--- a/hosts/surtr/default.nix
+++ b/hosts/surtr/default.nix
@@ -89,5 +89,10 @@
89 security.sudo.extraConfig = '' 89 security.sudo.extraConfig = ''
90 Defaults lecture = never 90 Defaults lecture = never
91 ''; 91 '';
92
93 nix.gc = {
94 automatic = true;
95 options = "--delete-older-than 30d";
96 };
92 }; 97 };
93} 98}