diff --git a/services/minimalConfig/default.nix b/services/minimalConfig/default.nix index 5ee889f..8eb1549 100644 --- a/services/minimalConfig/default.nix +++ b/services/minimalConfig/default.nix @@ -24,8 +24,8 @@ nix.gc = { automatic = true; - dates = "weekly"; - options = "--delete-older-than 7d"; + dates = "daily"; + options = "--delete-old"; }; security.sudo.wheelNeedsPassword = false; diff --git a/services/minimalConfig/lxc.nix b/services/minimalConfig/lxc.nix index f7ad202..c7d9954 100644 --- a/services/minimalConfig/lxc.nix +++ b/services/minimalConfig/lxc.nix @@ -7,6 +7,13 @@ in enable = lib.mkEnableOption "Enable LXC container config"; }; config = lib.mkIf cfg.enable { + boot.isContainer = true; + proxmoxLXC = { + enable = true; + privileged = false; + manageNetwork = true; + manageHostName = true; + }; systemd.suppressedSystemUnits = [ "dev-mqueue.mount" "sys-kernel-debug.mount"