Hi. I am trying to setup NixOS on a VPS. here is my steps:
- install minimal-cd on VPS and boot.
- run disko (I tried simple-efi and hybrid)
- run
nixos-generate-config --no-filesystems --root /mnt
and copy the result to my flake repo, push repo to github - run
nixos-install --root /mnt --flake github:<usr>/<repo>
it all goes fine and I even able to nixos-enter
to the just installed system. but if I try to reboot I get stuck on Booting from Hard Disk
.
so I guess something is wrong with GRUB but I dont know how to troubleshoot it, please help