Hacker News new | ask | show | jobs
by splitbrain 22 days ago
I came to the same conclusion when I built my NAS. Just Nix for the system, zfs for raid and docker compose for any service I might want to run. https://www.splitbrain.org/blog/2025-08/03-diy_nas_on_nixos
3 comments

Same, using NixOS as a NAS, though it kept growing and now I'm trying to share it with other people. I use BTRFS on MDADM though. It's ended up being an all-in-one home server and router now because I was tired of the noisy power hungry rack I had in my closet.

https://HomeFree.host

I'm also using NixOS for my NAS, you should look into quadlets (docker containers managed by systemd) to manage containers with nix.
But why? Why not the standard oci-containers module?

I've seen the quadlet-nix project but don't get what additional it gets me.

This is what I'm hoping to do. I haven't done much research yet, so I look forward to reading about your learnings. (Also to the person who responded to you with their experience and link.)

Thanks for saving me probably some hours...

EDIT: I'm also coming from an old Synology NAS from the ~2015 era.