A Nix Flake to build a NixOS image for RPI5.
Build works on a NixOS system.
Note
Master branch is in french, english is in rpi5-en branch.
git clone https://github.com/darkone-linux/pixos.git
cd pixos
./build.sh
The RPI5 SD Image is in the result
link, copy it to a SD Card (for example /dev/sda):
zstdcat -v result/sd-image/*.zst > /dev/sda
Initial passwords are password
for user nixos
(sudoer) and root
.
Boot and run in root:
nixos-generate-config
Configuration:
- Copy flake.nix and configuration.nix.
- Or create your own configuration.
- Raspberry PI Nix project and discussions
- This Flake example
- And also thanks to Fez on Gaming Linux FR