provision-nixos-server

Provision NixOS servers on Proxmox with LXC containers and Colmena.

27|3|Updated Aug 22, 2024
One-click install
npx skills add https://github.com/fred-drake/nix --skill provision-nixos-server
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: provision-nixos-server
Source: https://github.com/fred-drake/nix/tree/main/.claude/skills/provision-nixos-server
Command: npx skills add https://github.com/fred-drake/nix --skill provision-nixos-server

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Provision new NixOS servers on Proxmox for this nix flake project. Guides through the complete workflow: creating Proxmox LXC containers, SSH setup, Colmena configuration (init/full pattern), and application deployment with nginx proxy, PostgreSQL, and container images.

Core Features & Use Cases

  • Provisions Proxmox LXC containers for NixOS hosts.
  • Sets up SSH access, configures Colmena (init and full patterns), and deploys applications via nginx SSL proxy and PostgreSQL.
  • Supports adding new container images and updating configurations in the repository.

Quick Start

Provide the hostname, container specs, and Proxmox target, then run the provision-nixos-server workflow to spin up and configure a new NixOS host.

Frequently Asked Questions about provision-nixos-server

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate NixOS server provisioning on Proxmox?

To automate NixOS server provisioning on Proxmox, you provide the hostname, container specs, and Proxmox target to spin up LXC containers. The workflow then handles SSH setup, Colmena configuration, and application deployment with nginx and PostgreSQL.

How do I configure Colmena for a new NixOS host on Proxmox?

Configuring Colmena for a new NixOS host involves using an init and full pattern setup process. After creating the Proxmox LXC container and establishing SSH access, the workflow applies Colmena configuration templates to deploy the NixOS host.

What do I need to deploy NixOS containers with nginx SSL proxy and PostgreSQL?

Deploying NixOS containers with nginx SSL proxy and PostgreSQL requires Proxmox access, a NixOS image, Colmena configuration templates, and infrastructure secrets. The workflow uses these to configure the application deployment and database setup.

Does Colmena support deploying NixOS configurations to Proxmox LXC containers?

Yes, Colmena supports deploying NixOS configurations to Proxmox LXC containers. The workflow creates the LXC container, sets up SSH access, and then applies the Colmena configuration to provision and manage the NixOS host.

What is the best way to add new container images when provisioning NixOS servers?

The best way to add new container images during NixOS server provisioning is through the workflow's repository update feature. It supports adding new container images and updating configurations alongside deploying applications via nginx and PostgreSQL.

Why does provisioning a NixOS server on Proxmox require infrastructure secrets?

Provisioning a NixOS server on Proxmox requires infrastructure secrets to securely configure application deployment components like nginx SSL proxies and PostgreSQL databases. These secrets are necessary inputs alongside Proxmox access and Colmena templates.