/boot partition not mounted

Well, your hardware-configuration.nix doesn’t contain a fileSystems."/boot" entry. You must have run nixos-generate-config before you had mounted it. You can just mount it, run nixos-generate-config again (it will only regenerate hardware-configuration.nix), and rebuild.

1 Like