I’ve now had Claude build nine servers for me, small NixOS containers for one or a few grouped tasks. I’ve got a pretty reasonable workflow that reduces my work to 30 minutes of writing instructions, 5-10 minutes of back and forth answering questions and setting stuff up that Claude doesn’t have permission to access, then 1-2 hours of Claude working on its own to get a server up. Then a few minutes testing and I’m done.
The simple servers run things like homepage or upsnap or an SMB server. There’s some more complex servers running a full *arr stack (three big pieces of software) or several custom programs that work together to publish my linkblog. I’m mostly cloning existing servers, so often the first step is to have Claude inventory the old server and figure out how to move it into Nix.
Workflow
I start by writing an initial instructions document that tells Claude what I want the server to do. I explain what server I’m cloning (if any) and some ideas of what I want the new one to do. Like “install linkding” and also “this database linkding maintains is precious, be sure to back it up via restic”. The instructions end with a command to produce a design document and work plan for me to review.
Claude looks at my instructions and has a few questions producing the design doc or needs me to give it access to something. I am giving the agent root access on the old servers now and asking it to only read stuff. So far so good. For the Proxmox hypervisor I’ve given Claude a read-only audit key so it can inspect but not change things.
Claude then writes the design doc and work plan. I review it and produce a second document with design feedback and clarifications. I’ll skim the work plan but not review it, really it’s there so Claude has a place I can see to post its progress as it works. Claude is perfectly capable of doing all this in its own internal memory but I want these documents visible and checked into git for future consultation.
Once we’ve iterated to a design I then tell Claude “work as hard as you can. don’t bother me, work for hours and get this done”. That seems to work well, particularly with Opus 5.5. Instead of it pestering me for help it’ll find its own solutions like spinning up a local VM to test something. Sometimes this is alarming: twice now it’s found access to ssh keys it shouldn’t really be using to go check or modify something on a different server.
One interruption comes in the middle: Claude will produce a NixOS server image but it can’t create a container in Proxmox for it because it doesn’t have access. So it’ll stop and ask me to do that. It gives itself root access to the new container so it can upgrade and iterate after then. It’d be neat to have a generic bootstrap NixOS container I gave Claude permission to create to get itself started.
Once the iteration is done Claude usually has a few leftover things for me to clarify or test. And then we’re done! For old servers Claude drafts a cutover plan with some testing and turning off of old things. I used to be nervous and the plans had delays of days or weeks to slowly roll out the new server. But my stuff is low stakes and Claude is so thorough that I now trust it as long as I have a backup.
I started by having each server be its own separate Claude Code agent with its own repo and working area. But the agent keeps jumping out of its lane, looking at other servers’ configs and occasionally even making modifications. In every case that’s been helpful and I’m contemplating just having one agent manage the whole fleet of little containers in the future.
Server design principles
I do have a top level set of documents for the whole server fleet. There’s an inventory of all the servers and where they are. There’s a principles document with things Claude documented after our first couple of servers, rules like “Nothing untested reaches a real host” and “make the NixOS images as small as possible”.
I intended to review all these principle docs but they’ve gotten so wordy that they are Claude’s now, I just skim them. I do have a separate “Nelson’s Notes” document Claude isnt’ allowed to edit with extra things I personally care about.
I never look at the .nix files.
Reflection
I realize just how YOLO I’m being about all this. I can do that because this is just my home environment. Also I trust my backups. I have Proxmox snapshotting all the containers. And Claude is producing Restic backups for my precious data that I myself have verified. This could still all go catastrophically wrong, particularly if Claude went rogue, but I feel pretty good about it.
I have zero regret about handing off sysadmin work like this to an AI. I’m proud of my sysadmin skills, they come hard-earned after 35 years. But it’s boring work and not very creative. Also I’m sloppy and slow at it. Claude does a better job.