Hi HN - I wrote up how I set up a Hetzner bare-metal server with NixOS for running OpenClaw/agent workloads. The install itself became a reusable Nix-based workflow, but the more interesting part came after: I now let OpenClaw propose changes to the system by opening pull requests against the Nix config. I review and merge the PRs, and the machine only changes through the declarative config. That feels like the right model for agents. Don't give them random mutable servers and hope for the best. Give them "things-as-code": Nix configs, typed options, diffs, builds, PR review, rollbacks, and a clear apply path. Agents are much better when the world they operate on is represented as code.
Open iraklijani.comiraklijani.com/blog/installing-nixos-on-hetzner-metal
NixOS on Hetzner with OpenClaw
Guide and tooling to deploy NixOS on Hetzner dedicated servers using OpenClaw, achieving setup in 15 minutes.
Visit project- First shared
- Jun 13, 2026
- HN activity
- 52
Show HN@ikaJun 13, 2026
Show HN: NixOS on Hetzner with OpenClaw in 15 Minutes
Community