this post was submitted on 28 Apr 2025
86 points (95.7% liked)

Selfhosted

46416 readers
745 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
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 5 points 1 day ago (2 children)

Kinda cool how the configs work, but it feels like you need to rely a little too much on having premade configs available for the things you want to do.

[–] [email protected] 1 points 8 hours ago

Do you mean being dependent on people having "done it in nix before" so you can copy it? Definitely true to some extent. The language takes a bit of getting used to. Haven't watched the video so idk context, but if using docker on nix there's a great tool called compose2nix that converts compose files for docker or podman into declarative nix files. That took a lot of the challenge away for me personally.

[–] ruffsl 2 points 1 day ago

I'm not the original author, even with the YouTube title being as is, but what do you mean? Perhaps relying that the desired services exist as nix packages, or that nix packages have desired defaults or exposes desired config parameters?

There are two other nix media server config projects I can think of, but I think this approach mostly facilitates the install, but not the entire initial config setup, given that a lot of the stack's internal state is captured in databases rather than text config files. So simplifying the backup and restoration of such databases seems the next best thing to persist your stack configs with nix.