HiFiBerry NixOS

If you’re like me, you want as many of your devices at home to be running NixOS. That allows me to update and configure all my machines from the same repo and with the same tools (from here: GitHub - sweenu/nixfiles: NixOS home and servers configuration · GitHub). My speakers though, were running HiFiBerryOS until now. I used Claude to help me port HiFiBerryOS to NixOS: GitHub - sweenu/hifiberry-nixos: Run HiFiBerryOS on NixOS: the HiFiBerry audio stack, players and web UI, declaratively configured · GitHub

Besides having all the advantage of NixOS, like having a declarative config, it also has the advantage of needing less manual steps to get a working SD card for my RPIs than with the official hifiberry-os project.

It’s been working well for me so far! Hopefully it can be of use to others too.

4 Likes

I built something very similar a week ago before I left for Japan. We should collaborate.

It has all kinds of weird functionality that I dreamed up and implemented.

My favorites part is how I’m planning to tackle multi-room playback using a patched dev branch of sendspin and a custom Haskell module to allow each to be timed and authenticated on the same network to play streams with millisecond sync. That work is as of yet untested on multiple machines but it compiles and should work.
It’s on this branch with documentation in that branch’s readme: