this post was submitted on 20 Jul 2025
38 points (100.0% liked)

Selfhosted

49669 readers
787 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 2 years ago
MODERATORS
 

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?

you are viewing a single comment's thread
view the rest of the comments
[–] Starfighter@discuss.tchncs.de 13 points 2 days ago* (last edited 1 day ago)

How well NixOS fits your purpose really depends on what you want to do with the OS. If you're just going run a bunch of docker containers, you could manage them via Nix but its a little cumbersome.

Where NixOS really shines for small servers are the so called NixOS Options. They allow you to install tons of services on bare metal but manage all the configuration for you. E.g. open the correct firewalls ports, run a dedicated DB or cache, etc. and all those simply require you to enable them with an ... = true;.

Smaller projects might not have a NixOS Option available and some options are more and/or easier configurable than others, but if you're running just a few common services you could feasibly manage your whole server with just one native config file and no docker shenanigans.

I'd recommend checking what's available under the link above. If you wanna go the container route instead, you have the option of just using docker non-declaratively as on every other distro (but then you lose some of the benefits NixOS gives you), or you can declaratively have NixOS manage all the docker containers. There are a few ways to do and manage this so some further research will be required.