nixos-apple-silicon
nixos-apple-silicon copied to clipboard
[Enhancement] btrfs works nicely - mention it in the guide docs
I used btrfs instead of ext4. I used nix-shell -p to install btrfs-progs.
However, I use flakes and I did a silly.
I rebuilt a nix flake which describes the root partition as a ext4 - I forgot to update it to say btrfs. Now I can't boot.
I'm going to fix it by reinstalling again.
But I thought I'd mention it because btrfs is a usable option :)
Just for your information, you don't need to fully re-install from scratch. You can just boot into the installer, mount your partitions manually and run nixos-install (with the correct options, like --flake PATH_TO_FLAKE_FILE#HOSTNAME) after updating the configuration to have the correct fileSystems value. It shouldn't wipe your data if you did things correctly.
Just for your information, you don't need to fully re-install from scratch. You can just boot into the installer, mount your partitions manually and run
nixos-install(with the correct options, like--flake PATH_TO_FLAKE_FILE#HOSTNAME) after updating the configuration to have the correctfileSystemsvalue. It shouldn't wipe your data if you did things correctly.
Saved me. Thank you!
@ToborWinner @aspauldingcode Can you specify exactly what to do? I don't have any background with btrfs, I opened my own issue https://github.com/nix-community/nixos-apple-silicon/issues/319.
Looks like you figured it out