logoalt Hacker News

edukite • yesterday at 5:23 PM • 3 replies • view on HN

Nix will install me clickhouse on 2 devices at once, create restricted networking between 6 devices?


Replies

wrxd • yesterday at 7:33 PM

It can. For instance I have a flake where I define all of my machines, share some confit between them and have clearly defined customisation points.

Form that configuration I can build everything on one of my machines and push the builds to the others. Or each machine can do its own builds.

Have a look at projects like NixOps or Colmena to see some more automation on top of standard builds targeting other machines.

orbital-decay • yesterday at 10:01 PM

Sure. I do this in my homelab with ~20 devices, most are very small/embedded, a few are bigger including the build machine.

clhodapp • yesterday at 6:02 PM

Depending on your specific requirements, yes. And quite elegantly.

There are several ways to do this. For one, see: https://github.com/nix-community/colmena