Can you try building your own image without nix run github:nix-community/nixos-generators -- --format proxmox-lxc
?
Then in that order
- paste that exact same config into the container
- run
nix-channel --update
- modify the config
- run
nixos-rebuild switch
Some references for that here: NixOS Proxmox LXC Not rebuilding using wiki provided configuration - #8 by JimJ92120