Install fails from Nixos-gnome-21.05 due to home-manager
Hi
I follow the readme.md file, running from a live cd inside VirtualBox. This results in the following error:

If I hack out references to home-manager from the nixos-up python script, then it processed OK.
Why it fails, I don't know how to debug. However it hints at making home-manager optional, as this seems to be the cause. (Perhaps consider not installing home-manager for server-installations)
Hmm interesting... Looks to be a dup of https://github.com/samuela/nixos-up/issues/9 which was once resolved in https://github.com/samuela/nixos-up/issues/11. This seemed to have been resolved upstream so I removed the workaround from nixos-up since then. Which ISO are you using exactly? Does it work with 21.11?
As a quick workaround you could run nixos-up and then ctrl-c once it starts the nixes-install --no-root-passwd phase, edit /mnt/etc/nixos/configuration.nix to your liking and then run nixes-install --no-root-passwd manually. That should do the trick until we get a better fix.
Also at one point I tried to do a home-manager "standalone" install instead of the NixOS system configuration install (see https://github.com/nix-community/home-manager#installation). This involved running the install commands inside nixos-enter. However I got snagged on this issue with that approach.