Archived
--name (used as pct/qm create's --hostname/--name) defaulted to $flake_target (e.g. "lxc-nix-cache"), not $host (e.g. "nix-cache"). Since proxmoxLXC.manageHostName pulls the guest's real networking.hostName straight from Proxmox's own container config, this silently overrode host.nix's hostName with a build-type-specific name. Default --name to --host instead, so the guest's identity matches host.nix regardless of which platform variant built it. Found by spinning up a fresh lxc-nix-cache test container and noticing its hostname was "lxc-nix-cache" instead of "nix-cache". Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>