From 0f031a3992336c946f3489d70514ed06743dbb26 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sat, 29 May 2021 21:32:42 +0200 Subject: surtr: nix.gc --- hosts/surtr/default.nix | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'hosts/surtr') 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 @@ security.sudo.extraConfig = '' Defaults lecture = never ''; + + nix.gc = { + automatic = true; + options = "--delete-older-than 30d"; + }; }; } -- cgit v1.2.3