From 9a6f773f681a4eb714c41fc5db07c8e5bfa7141d Mon Sep 17 00:00:00 2001 From: James Walker Date: Mon, 19 Jun 2023 16:36:44 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20nix=20gc=20delete=20older=20than?= =?UTF-8?q?=2030=20days?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/base/darwin.nix | 1 + modules/base/default.nix | 1 + 2 files changed, 2 insertions(+) diff --git a/modules/base/darwin.nix b/modules/base/darwin.nix index 07be0a6..fb2f2b0 100644 --- a/modules/base/darwin.nix +++ b/modules/base/darwin.nix @@ -15,6 +15,7 @@ Minute = 16; Weekday = 6; }; + options = "--delete-older-than 30d"; }; settings = { trusted-users = [ "root" "@admin" ]; diff --git a/modules/base/default.nix b/modules/base/default.nix index 3cd3812..72cf53d 100644 --- a/modules/base/default.nix +++ b/modules/base/default.nix @@ -11,6 +11,7 @@ gc = { persistent = true; dates = "weekly"; + options = "--delete-older-than 30d"; }; settings = {