Container switches revert on reboot (lxc-container module missing) (flakes-dnjc)
nixosConfigurations.
- Import lxc-container.nix from packs/nixos/container
- Redeploy onecli and yolo with the lxc-capable toplevel
- Verify /sbin/init points at the new system and survives incus restart
Summary of Changes
packs/nixos/container/configuration.nix now imports modulesPath + /virtualisation/lxc-container.nix, so every container toplevel is the -lxc variant and its installBootLoader repoints /sbin/init on switch. build-image --image-variant lxc still evaluates (same module path, deduplicated). Redeployed onecli and yolo; incus restart onecli came back on the new system. yolo was switched but not restarted (its /sbin/init points at the new system).