Archived
Replace the hardcoded hostname check (docker, pxe-boot) with a check on config.fileSystems: any lxc-* host whose NixOS config declares an NFS fileSystem entry is automatically made privileged. The script already reads proxmoxLXC.privileged dynamically via flake_target_lxc_privileged, so no logic change is needed there — only the comment is updated to describe the new derivation. Result: lxc-docker and lxc-pxe-boot (the two with NFS mounts) evaluate as privileged=true; lxc-nix-cache, lxc-minimal, lxc-server, lxc-tailscale-router, lxc-tor-relay evaluate as privileged=false. Any future lxc-* host that declares an NFS mount gets the correct privilege level for free without a separate manual edit. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>