I’m planning on, eventually, putting together a NAS for myself. I’ve basically narrowed down the selection to either trying NixOS or going for TrueNAS, however I can’t figure out how to decide between those two, as they are fundamentally quite different.
TrueNAS is a dedicated NAS OS so that’s obviously enticing for me, but I heard if you also want to do some server stuff like hosting some things and not just storing data it is subpar? I never got the information out of people what exactly is supposed to be subpar about it, but I’ve seen those complaints a handful of times.
Meanwhile NixOS is just a Linux distro. I’m familiar enough with Linux, although NixOS is its own beast and from what I heard its documentation isn’t quite what you’d get out of for instance the Arch Wiki, but it being declarative and easy to restore old versions in case something breaks allegedly makes it rock solid, so that also sounds interesting.
So, after thinking about those things, I was wondering if any of you who use either of them could share your experiences and what you like or dislike about either option?
We have NixOS, Proxmox and TrueNAS in use.
graphics.nvidia.enable = true;
which then becomes pretty self-explanatory, at least if you are somewhat familiar with the ecosystem already. The way I’d recommend going about documentation with nix is this:nixpkgs
. Look at what they are doing there/the comments explaining why. Often, this resolves any ambiguity, or helps you out with your goal.language:nix <thing you need to do>
. As a random example: I recently wasn’t sure how to configuring scaling in hyprland on NixOS, but searching for an appropriate term will quickly show you how other people have solved the same problem. It’s not really documentation, but the declarative nature of nix means it’s easy to find TONS of working examples via a github search.So, what’s my advice?
If you are unfamiliar with NixOS, it’s probably a bit of a headache getting a NAS to run satisfactory. Truenas works so well, there isn’t really a need for nix. But running your services in nix is great, totally recommend!