From 72161b8c57cb9c085153a39f9b46a3b961b888c6 Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Sun, 14 Feb 2021 12:33:03 +0100 Subject: [PATCH] configuration: setup nix GC --- configuration.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/configuration.nix b/configuration.nix index f90017e..23ecef4 100644 --- a/configuration.nix +++ b/configuration.nix @@ -157,6 +157,12 @@ binaryCachePublicKeys = [ "alarsyo.cachix.org-1:A6BmcaJek5+ZDWWv3fPteHhPm6U8liS9CbDbmegPfmk=" ]; + + gc = { + automatic = true; + dates = "03:15"; + options = "--delete-older-than 30d"; + }; }; }