Unofficial Hacker News companion — get notified on comment replies, and more.

Show HN: Nixorium – NixOS fleet management, in daily use in my school's labs (opens external site)

107 points by zener79 8 hours ago github.com 38 comments (opens Hacker News) Vote (opens Hacker News)

View full thread · View on Hacker News

Comment thread (6)

  1. I use NixOS for everything I can. Desktop, laptop, agent container, a couple servers that have a single purpose. But for my main "homelab"... it's Debian with docker, and a folder-per-project. It's just too easy that way. Yes, you can mostly wrap projects up into a nix derivation... and AI could probably brute force a solution to ANYTHING, but a docker-compose.yaml in a folder just can't be beat.

    Now, I _could_ have gone with NixOS instead of Debian as the host. Actually, that probably would have been better. But I would still make it a NixOS system that manages a bunch of docker-compose folders.

    Replies (4)
    1. > a docker-compose.yaml in a folder just can't be beat.

      I'd submit k3s (Kubernetes distribution in a 100 MB binary) as beating that. The only real downside is that if you're not already familiar with Kubernetes, there's a learning curve. But it gives you much more capability than Docker Compose, including the ability to seamlessly expand beyond a single node.

      Replies (1)
      1. NixOS is great on bare metal when you can do that, and you have the political and practical support. But if you don't, Nix is also a great way to build container images, especially with https://github.com/nlewo/nix2container

        Shipping a bunch of immutable store paths packed into container blobs is a very natural fit for Nix, and Nix gives you a great incremental build/storage story if you have a monorepo or something monorepo-shaped that is too expensive to just do from scratch every time. And of course, having that interface plugs you into the whole modern ecosystem of k8s, devcontainer, agentic whatever.

        Like I say, I like NixOS on metal too, but Nix containers are a great way to get a bunch of the benefits.

    2. Literally just described my current homelab. Docker compose/debian is just such no nonsense and easy to manage, would probably swap back if becomes too much hassle. Just mostly doing it for a curiosity stand point to explore nix a bit more and what it could look like live in production
    3. Oddly enough, I use NixOS for my least geeky "it just needs to run" box that I don't otherwise tinker with, namely my game machine running Steam. Because it was damn near idiotproof to set up, just had to look up one tweak to fix the mouse pointer size. By comparison, Steam has all kinds of bugs in Crossover on my Mac (but it runs Dwarf Fortress fine, and that's good enough).
    4. You should totally NixOS a try for it!

      For my (first) homelab, I had two identical minipcs. I installed Debian and NixOS on one each. I maintained both in parallel as some sort of crappy A/B test and I found NixOS was super easy to manage, and ended up dropping debian in favour of the nix config.

      I currently run everything through it (except my video game servers). https://github.com/milotek/nixeljam/tree/personal/modules/ho...

      Hell, if you wanna be lazy, you could ask AI to port your setup to a Nix config for you :)