From dac3b84ffb93fa73654cc01b77924de1f9658317 Mon Sep 17 00:00:00 2001 From: John Lancaster <32917998+jsl12@users.noreply.github.com> Date: Wed, 11 Mar 2026 01:11:11 -0500 Subject: [PATCH] space optimization --- modules/nixos/lxc.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/modules/nixos/lxc.nix b/modules/nixos/lxc.nix index 0c72439..8af8b67 100644 --- a/modules/nixos/lxc.nix +++ b/modules/nixos/lxc.nix @@ -12,6 +12,12 @@ security.sudo-rs.enable = true; programs.nix-ld.enable = true; + nix.optimise.automatic = true; + nix.gc = { + automatic = true; + dates = "weekly"; + options = "--delete-older-than 30d"; + }; }; # Generic bootstrapping lxc, use a specific host file for more