Manage a custom NixOS setup and package software with agents
The author hands NixOS config changes and packaging of GitHub-only software to an agent, and had one build its own systemd container sandbox. ·
Done with a custom-built or unnamed agent
- What they did
- The author keeps their whole NixOS config organized by module and, when something about the setup annoys them, gives the problem to an agent. The agent also packages software that only exists on GitHub. They had an agent write a systemd container sandbox that reuses most of the host config but can reach only a couple of directories in the real home.
- How it went
- The sandbox took about an hour and a file of roughly 100 lines. Changes are committed and pushed, so laptop and servers stay in sync, and a disliked change is dropped by rebuilding. No failures are mentioned.
- Worth knowing
- Keeping the config in version control makes agent experiments cheap to abandon: if a change or package is unwanted, drop it and rebuild.
Try it yourself with Claude Code
I run NixOS and my config is in [path to your config repo]. Package [GitHub repo URL] as a Nix derivation and add it to my config, or make this change: [describe config change]. Build it with a dry run or test build first, show me the diff and any errors, and stop once the build succeeds. Do not switch or apply the new config until I approve.
Want help getting this working? Join the Vibe Coding Academy ↗ Run by Alex Finn, who also runs this site.
Source: HN · Dec 3, 2026
Related use cases
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.
Diagnose and roll back bad config during outages
Google SREs use Gemini CLI to pull logs, find a bad config push, generate a reverting changelist, and file postmortem action items via MCP.
Build an email inbox app for the bot's address
Grok Bot built and deployed a mail-style inbox app on Vercel in 23 minutes, with database and sync, and sent back the link and password.
Build a privacy-first file conversion web app on Replit
A user built and shipped Tools Vault, a file conversion web app hosted on Replit with FastAPI and Tailwind, for about $34 so far.
Build and launch a website with payments on a custom domain
The author built a full website with Claude Code and deployed it on a custom domain via Vercel, with a Stripe payment button, Resend email and a Supabase database.
Submitted by from search gap: 搭建收费网站
Convert photos to WebP and migrate a car image database
Commenters used Codex to convert 220 large JPGs to WebP and upload them, and to migrate over 1 million car images into a new database and schema.
Get 5 like this every morning
The best things people got an AI agent to do, each with the prompt to try it.