Failed to install bootloader & efiSysMountPoint = 'boot' is not a mounted partition


I’m installing NixOS Minimal from a USB flash drive, and I’ve run into this problem could you suggest a solution?

Add --root /mnt to the nixos-install invocation.

--root /mnt nixos-install --flake /mnt/etc/nixos#…
or what?

Actually, the default is /mnt, so the issue lies somewhere else.