Misterio77 / nix-config

Personal nixos and home-manager configurations.
https://m7.rs/git/nix-config/
MIT License
803 stars 47 forks source link

Question: How to deploy on Raspberry Pi 4 #21

Closed SolidRhino closed 9 months ago

SolidRhino commented 1 year ago

How can you deploy this on a Raspberry Pi 4? Because the image for the Raspberry Pi 4 is also the installation medium and isn't using BTRFS.

hellst0rm commented 11 months ago

my suggestion for you is to todo as I am doing it by following these blogs:

Misterio77 commented 10 months ago

Hey,

I don't really remember how I did it lol, but IIRC: I first installed it with ext4, then re-configured it to use btrfs, ran nixos-rebuild boot, formatted (with a PC) the SD card as btrfs, and inserted it back. It should do the trick!

nixos-anywhere is also a good option for that, if your rasp has enough ram for it.