Closed 7596ff closed 1 year ago
I apologize, this was a bug introduced by upstream Nixpkgs in nixos-generate-config
that I noticed but forgot to address.
Open up /mnt/etc/nixos/hardware-configuration.nix
, change the line which references x86_64-linux
to instead say aarch64-linux
, and you should be good to run the install command again. If you ever need to run nixos-generate-config
again, you will need to redo this step.
I will work on getting this fixed.
(The support you've been providing for free is considerably better and more timely than some that I've paid for. Thank you!)
https://github.com/NixOS/nixpkgs/pull/237218
Hopefully this will make its way to the release channel in a few days and I will do a new release.
This is fixed in the latest release.
I'm on a MacBook Pro 14 with an M1 Pro.
I've followed the installation instructions using the latest iso from the releases page. At the point where I am running
nixos-install
, I get the following error:It further suggests that I enable
nixpkgs.config.allowUnsupportedSystem
, but doing so leaves me with another error:an x86_64-linux with features {} is required to build <networkmanager>, but I am a aarch64-linux with features {benchmark, big-parallel, gccarch-armv8-a, kvm, nixos-test}
I can't seem to find anything online about this particular problem, and I am not experienced enough with nixpkgs to understand if there's something I'm doing that's causing this or not.