From 9b90ccad7d828c083c37d179c391a0048e49cf02 Mon Sep 17 00:00:00 2001 From: Joe Mou Date: Mon, 13 Apr 2026 23:50:58 -0400 Subject: elmo: Automatic GC --- hostnix/elmo/system.nix | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'hostnix') diff --git a/hostnix/elmo/system.nix b/hostnix/elmo/system.nix index c40313e..8630abc 100644 --- a/hostnix/elmo/system.nix +++ b/hostnix/elmo/system.nix @@ -1,7 +1,15 @@ { config, pkgs, ... }: { + nix.gc = { + automatic = true; + dates = "weekly"; + options = "--delete-older-than 30d"; + }; + nix.settings.auto-optimise-store = true; + boot.loader.systemd-boot.enable = true; + boot.loader.systemd-boot.configurationLimit = 10; boot.loader.efi.canTouchEfiVariables = true; boot.tmp.useTmpfs = true; -- cgit v1.3.1