
-------------------------------------------------------------
Run
nix-build '<nixpkgs/nixos>' -A config.system.build.toplevel -I nixos-config=/mnt/etc/nixos/configuration.nix
let it finish and then nixos-install.
It's a fairly recent problem that appeared after 21.05 release
-------------------------------------------------------------

https://boards.4channel.org/g/thread/82142411
