Hello,
I am installing NixOS using the minimal ISO available on the site. I’ve followed all the steps until the part you have to execute nixos-install
. When I use the command without sudo it gives me an error:
mktemp: failed to create directory via template /mnt/tmp.XXXXXXXXXX: Permission denied
And when I use it with sudo, it gives me another error:
error: changing ownership of path ‘/mnt/nix/store’ : Operation not permitted
What should I do?