Manage NixOS server configs
Someone keeps their self-hosted NixOS machines in a config repo with Claude Code, but blocks nixos-rebuild switch and applies each reviewed diff by hand.
- Agent or tool
- Claude Code
- Topic
- DevOps & Infra
- Reported on
- Hacker News
- Added
- 2026-10-15
Why it matters
Keeping servers and pipelines healthy is constant, detail-heavy work. Agents that can read logs and run routine fixes are a big help, as long as a person keeps an eye on what changes. It is one of 130 sightings filed under DevOps & Infra on Agent Sightings (number 123 by interest), and one of 255 involving Claude Code.
How you could try it
Here is a reusable prompt, written by us in our own words, that captures the task. Paste it into Claude Code or any similar agent and adjust the details to your situation.
In this NixOS config repo, propose the smallest change for my request, show the diff, and never run nixos-rebuild switch. I will apply approved changes myself.
Tip: Try it first on a staging system or with read-only credentials, and require approval for anything that changes production.
Source
Read the original first-hand account on Hacker News: https://news.ycombinator.com/item?id=50017667. Our summary is a paraphrase; details are in the source.
Built an AI agent? Feature your agent on Agent Sightings, free submission or a featured spot.
Browse more like this
Related sightings
- Claude Code as a general computer operator
- Reverse engineer Claude Desktop to find a path to Linux support
- Debug code hands-free by voice
- Panorama unlocks student success with Claude in Amazon Bedrock
- Book the best-priced flight and later refund it
- A contractor's personal Claude Code agent allegedly ran inside a secure Pentagon system for two months