infra.platform
3 options
infra.platform.pve.lxc.deviceGids
Group ids the guest uses for /dev/dri/card* (video) and /dev/dri/renderD* + /dev/kfd (render). The fleet side must pass the same numbers as devices[].gid; NixOS’ ids are 26 and 303 (Debian’s 44 / 104 in the community scripts).
Type: attribute set of signed integer
Read-only: computed by fleetkit; not settable.
Default:
{ video = config.ids.gids.video; render = config.ids.gids.render; }
Declared by: nix/modules/infra/base/platform/pve/lxc.nix
infra.platform.pve.lxc.gpu.enable
The PVE host passes GPU nodes through to this container
(fleet.compute.deviceGids, which is what the
passthrough entries must carry as gid so the nodes are usable
inside the (unprivileged) container.
Type: boolean
Default:
false
Declared by: nix/modules/infra/base/platform/pve/lxc.nix
infra.platform.type
Virtualisation substrate this host runs on:
- pve.lxc : Proxmox-hosted unprivileged LXC container
- pve.qemu : Proxmox-hosted KVM/QEMU VM
- xcpng.vm : XCP-ng-hosted Xen HVM VM (tier-0 + select tier-1)
Auto-wired by nix/lib/default.nix from the fleet entry; override per-host only when the auto-detection is wrong.
Type: one of "pve.lxc", "pve.qemu", "xcpng.vm"
Default:
"pve.lxc"
Declared by: nix/modules/infra/base/platform