News for hackers. Stuff that matters.
Re:NixOS, Raspberry Pi and Me by TobTobXX on Saturday August 17, 2024 @08:00AM (#41273861)
I have a nix flake that builds an ISO for the Pi. It is a readonly system and only does network bridging between the wifi iface and the ethernet (bc. my internet acces is... difficult). It's pragmatic an probably not best-practice, but it works:

https://git.sr.ht/~tobtobxx/gatetobtob

Re:NixOS, Raspberry Pi and Me by sshine on Saturday August 17, 2024 @11:24AM (#41275196)
I build the sdImage using nixos-generators. I then redeploy the same configuration using `nixos-rebuild switch --target-host=`. It’s rather neat because my flake will export both, and the configuration is a module I don’t need to repeat.

Doesn’t come with FDE, but I use tmpfs for payloads.