diff --git a/nixos/reisen-ct/proxmox.nix b/nixos/reisen-ct/proxmox.nix index bf1dbe7c..80da26e3 100644 --- a/nixos/reisen-ct/proxmox.nix +++ b/nixos/reisen-ct/proxmox.nix @@ -1,10 +1,19 @@ { + lib, modulesPath, ... -}: { +}: let + inherit (lib.modules) mkDefault; +in { imports = [ (modulesPath + "/virtualisation/proxmox-lxc.nix") ]; - services.getty.autologinUser = "root"; + services.getty.autologinUser = mkDefault "root"; + documentation.enable = mkDefault false; + + environment.variables = { + # nix default is way too big + GC_INITIAL_HEAP_SIZE = mkDefault "8M"; + }; }