hosts

Automate NixOS host machine creation and configuration with SOPS secrets.

18|1|Updated Jun 2, 2023
One-click install
npx skills add https://github.com/DaRacci/nix-config --skill hosts
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: hosts
Source: https://github.com/DaRacci/nix-config/tree/main/.opencode/skills/hosts
Command: npx skills add https://github.com/DaRacci/nix-config --skill hosts

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill simplifies the process of adding, configuring, and managing NixOS host machines, ensuring consistent and automated system deployments.

Core Features & Use Cases

  • Automated Host Creation: Streamlines the setup of new server, desktop, or laptop configurations.
  • Secret Management: Integrates with SOPS for secure handling of sensitive data like SSH keys and passwords.
  • Use Case: Quickly provision a new server by defining its type and name, and let the Skill handle the creation of necessary configuration files, SSH keys, and secret management setup.

Quick Start

Use the hosts skill to create a new server named 'webserver01'.

Frequently Asked Questions about hosts

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

FAQPage Schema
How do I automate NixOS host configuration for multiple servers and desktops?

You can automate NixOS host configuration by using modular configuration files that define shared and type-specific modules for servers, desktops, and laptops.

How does SOPS secret management work with NixOS host configurations?

SOPS integration secures sensitive data like SSH keys and passwords within NixOS configurations by automatically handling the secret management setup during host creation.

Can I use NixOS hardware modules for diverse system types like laptops?

Yes, NixOS hardware modules integrate with the host configuration to support diverse system types, ensuring proper hardware compatibility for laptops, desktops, and servers.

What's the best way to provision a new NixOS server with automated SSH key setup?

The best way to provision a new NixOS server is to specify its type and name, letting the automation handle configuration files, SSH keys, and SOPS secret management setup.

Does this NixOS configuration approach support modular shared modules?

Yes, this approach facilitates modular configuration through shared and type-specific modules, allowing consistent and automated deployments across multiple host machines.