Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

provision-nixos-server

Skill by fred-drake

Guides an AI assistant through provisioning new NixOS hosts for a nix flake project, on Hetzner cloud servers or Proxmox LXC containers. It covers host setup, Colmena registration, SOPS key bootstrap and application deployment.

  • Score 47
  • 28 stars
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install provision-nixos-server

Built from the published package, never by AI.

git clone --depth 1 https://github.com/fred-drake/nix /tmp/nix && mkdir -p ~/.claude/skills && cp -r /tmp/nix/.claude/skills/provision-nixos-server ~/.claude/skills/provision-nixos-server

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install provision-nixos-server in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill walks through provisioning new NixOS hosts for a nix flake project. It supports Hetzner cloud servers and Proxmox LXC containers. It covers host creation, SSH setup, Colmena registration using an init and full pattern, and SOPS infrastructure-key bootstrap. It also covers deploying applications with an nginx SSL proxy, PostgreSQL and container images.

The skill follows an eight-step workflow and points to reference templates for host and OS configuration files. Steps include gathering requirements, copying the infrastructure SSH key onto the host, writing Colmena host files, running an init deploy and then a full deploy. It is written for people maintaining this specific nix flake repository, and it lists common issues with their fixes.

Written from the project's SKILL.md and checked against it.

What it can do

  • Platform selectionPicks Hetzner or Proxmox LXC and points to the matching host and OS config templates.
  • Host creationCovers creating the server or container in the Hetzner console or Proxmox UI.
  • SSH verificationChecks root SSH access to the new host and adds keys if needed.
  • Infrastructure key copyCopies the infrastructure SSH key onto the host before deploys that use sops secrets.
  • Colmena registrationWrites host files and registers the host in colmena/default.nix using the init and full pattern.
  • Init deployBuilds and applies the init configuration to the new host with colmena.
  • Application layerAdds container images, service modules, nginx proxy and PostgreSQL setup.
  • Troubleshooting notesLists common errors such as SSH refused, sops decrypt failures and nginx duplicate directives.

What you need

  • A nix flake project with Colmena configured
  • Access to Hetzner console or Proxmox UI
  • SSH access to the new host
  • SOPS and an infrastructure SSH key

Try asking

  • Help me provision a new Hetzner NixOS host called ironforge
  • Walk me through registering a new host in colmena/default.nix
  • Set up nginx SSL proxy and PostgreSQL for my new NixOS app server

Good to know

  • Reference templates exist only for Hetzner and Proxmox LXC.
  • Other platforms such as WSL or bare-metal LAN have no reference yet.
  • Hetzner app servers expect a second block device mounted at /var/lib/containers.

Security check

F
  • Sends keys or private files to a web addressIn .claude/skills/provision-nixos-server/SKILL.md: curl -s https://github.com/fred-drake.keys > ~/.ssh/

Checked automatically: .claude/skills/provision-nixos-server/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to provision-nixos-server

All alternatives →
deploy-release-testvercel
94

Runs the full Next.js deployment test suite for an internal vercel/next.js pull request. It validates the commit's preview package, then dispatches the test_e2e_deploy_release.yml workflow. Meant for maintainers who explicitly ask for the entire suite.

AAA Skill 144k
deepeval-tracingconfident-ai
94

Instruments Python AI applications with DeepEval's native tracing so their execution appears span by span in Confident AI's Observatory. It is for developers building LLM apps, agents, RAG pipelines and chatbots.

AAA Skill 20k
azure-container-registry-cligithub
94

Manages Azure Container Registry through the az acr Azure CLI command group. It covers registries, images, cloud builds, ACR Tasks, tokens, geo-replication and networking. Built for developers and operators who work with ACR in Azure.

AAA Skill 42k
crabbox-appsopenclaw
94

Opens, runs, and shows apps on a temporary Crabbox machine, including native desktops and web previews. It is for OpenClaw users who want an app running and visible in their chat side panel.

AAA Skill 395k
gke-batch-hpcgoogle
94

Runs batch and HPC workloads on GKE using job queues and parallel processing. Aimed at teams running batch pipelines, HPC simulations, or ML training jobs on Google Kubernetes Engine.

AAA Skill 25k
gke-cost-analysisgoogle
94

Answers questions about GKE cluster and workload costs using BigQuery billing exports and live cluster metrics. Built for platform engineers and cloud teams who need to analyze and diagnose GKE spend.

AAA Skill 25k

Compare with deploy-release-test, deepeval-tracing or azure-container-registry-cli

provision-nixos-server: common questions

Which platforms does this NixOS provisioning skill support?

The source covers Hetzner cloud servers and Proxmox LXC containers. WSL and bare-metal LAN hosts have no reference files yet and can use existing hosts as starting points.

Does it handle secrets?

Yes. It covers SOPS infrastructure-key bootstrap and copying the infrastructure SSH key to the host before deploys that use sops secrets.

What is the init and full deploy pattern?

The init host deploys the first configuration, then the full host deploys with application layers. The source says the next deploy after a Hetzner port change must use the full host name.

How do I install provision-nixos-server?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is provision-nixos-server free?

The code is public, but no licence file was found, so check the repository before commercial use.

Is provision-nixos-server safe to use?

It scores 47 of 100. Grades: maintenance A, licence F, quality C. Security check: grade F (sends keys or private files to a web address). Review the code before you install. How grades work.

What are alternatives to provision-nixos-server?

Similar skills: deploy-release-test, deepeval-tracing, azure-container-registry-cli, crabbox-apps.

provision-nixos-server Install

Add to stack

Loading.