From 542d05f0df6d4a572e03225f53f088f103ce96f2 Mon Sep 17 00:00:00 2001 From: stupidcomputer Date: Wed, 9 Oct 2024 04:26:18 -0500 Subject: [PATCH] add nix.gc to netbox configuration --- boxes/netbox/default.nix | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/boxes/netbox/default.nix b/boxes/netbox/default.nix index b32bdc6..d5de83f 100644 --- a/boxes/netbox/default.nix +++ b/boxes/netbox/default.nix @@ -18,13 +18,18 @@ ./franklincce.nix ]; - # nix optimization - nix.optimise = { - automatic = true; - dates = [ "03:45" ]; + nix = { + optimise = { + automatic = true; + dates = [ "02:30" ]; + }; + gc = { + automatic = true; + dates = "03:15"; + options = "-d"; + }; }; - time.timeZone = "America/Chicago"; i18n.defaultLocale = "en_US.UTF-8";