Manage NixOS server configs with Claude Code
The author uses Claude Code to maintain the NixOS config repo for their self-hosted machines, blocked from running nixos-rebuild switch and reviewing each change before applying it manually. ·
Done withClaude Code
- What they did
- The author keeps one config repo that defines all their NixOS machines, two refurbished 32GB Lenovo laptops used as self-hosting servers, and has Claude Code work on it. Claude is restricted from running nixos-rebuild switch. The author reviews each change and runs the switch manually.
- How it went
- The source gives no results or numbers for the Claude workflow itself. It only says the review-then-switch setup is how they manage the machines, which run services like Nextcloud, Vaultwarden and Jellyfin.
- Worth knowing
- Block nixos-rebuild switch for the agent so every change to a live machine gets human review before it is applied.
Try it yourself with Claude Code
Help me maintain the NixOS config repo at [path to repo] for my machines [machine names]. Make this change: [describe change, such as adding a service or updating a package]. You may edit files and run dry builds, but never run nixos-rebuild switch. Show me the full diff and a plain-language explanation so I can review and apply it myself.
Want help getting this working? Join the Vibe Coding Academy ↗ Run by Alex Finn, who also runs this site.
Source: HN · Oct 9, 2026
Related use cases
Turn tickets into merged pull requests
Pulls tasks from GitHub Issues or Linear, then runs Claude Code or Codex in isolated Kubernetes pods to carry each one through to a PR.
Run brand marketing end to end and publish to social
A tool lets Claude Code scrape competitors, generate and edit images and videos, and publish to Instagram, TikTok, LinkedIn, X and Reddit; one video reportedly hit 5.3M views.
Build a personal portfolio site with AI chat as a non-developer
A designer used Claude Code to build a personal website with an AI chat about their work in 48 hours, then shipped a growth design tool days later.
Submitted by from search gap: 网站
Build a C compiler with a team of parallel agents
Anthropic's engineering write-up on tasking Opus 4.6 agent teams with building a C compiler.
Build a book donation app and demo video in a buildathon
A user used Replit Agent to build the GiveABook app and its demo video within a 24-hour buildathon.
Generate large amounts of code with Manus
A user had Manus produce a lot of code quickly for software projects, but lost work a couple of times and had to add extra checkpointing.
Get 5 like this every morning
The best things people got an AI agent to do, each with the prompt to try it.