{ ... }: { boot.isContainer = true; boot.loader.grub.enable = false; boot.loader.systemd-boot.enable = false; # LXC containers share the host kernel — Proxmox starts them by exec'ing # /sbin/init directly, no bootloader/initrd involved. Without this, that # file doesn't correctly launch the current generation, so even a # correctly-installed system can fail to come up after reboot. boot.loader.initScript.enable = true; }