From 99c154448f911f6bd4462164f64fea548cc0d8f7 Mon Sep 17 00:00:00 2001 From: nyanloutre Date: Sat, 7 Apr 2018 19:38:22 +0200 Subject: [PATCH] Garbage collector Nix automatique --- configuration.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configuration.nix b/configuration.nix index f230efe..213b359 100644 --- a/configuration.nix +++ b/configuration.nix @@ -65,4 +65,6 @@ security.sudo.wheelNeedsPassword = false; system.autoUpgrade.enable = true; + nix.gc.automatic = true; + nix.gc.options = "--delete-older-than 15d"; }