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