skill-add-darwin-host

Automate macOS nix-darwin host bootstrap within the serenitea-pot flake.

14|3|Updated Jul 23, 2023
One-click install
npx skills add https://github.com/codgician/serenitea-pot --skill skill-add-darwin-host
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: skill-add-darwin-host
Source: https://github.com/codgician/serenitea-pot/tree/main/.opencode/skills/skill-add-darwin-host
Command: npx skills add https://github.com/codgician/serenitea-pot --skill skill-add-darwin-host

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill helps teams and developers bootstrap a new macOS (nix-darwin) host within the serenitea-pot flake, streamlining the setup process for Darwin-based machines.

Core Features & Use Cases

  • Automates the creation of a macOS host directory and required configuration files (default.nix, system.nix).
  • Provides a reproducible, flake-backed workflow to bootstrap and manage a Darwin system.
  • Use Case: When expanding to a new Mac or Apple Silicon/Intel host, this skill standardizes environment setup and enables quick deployment.

Quick Start

Create a Darwin host directory, add default.nix and system.nix, then bootstrap the host with darwin-rebuild switch.

Frequently Asked Questions about skill-add-darwin-host

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

FAQPage Schema
How do I bootstrap a new macOS host with nix-darwin and flakes?

To bootstrap a macOS host with nix-darwin, create a host directory under hosts/darwin/<hostname>, add default.nix and system.nix configuration files, then run darwin-rebuild switch to deploy the system.

What files are required to provision a Darwin host in a nix flake?

Provisioning a Darwin host in a nix flake requires a default.nix and a system.nix file inside a host directory under hosts/darwin/<hostname> to define the system configuration.

Does nix-darwin work with both Apple Silicon and Intel Macs?

Yes, nix-darwin works with both Apple Silicon and Intel hardware. The flake-backed workflow supports provisioning across various Mac hardware architectures for reproducible system configuration.

Why use a flake-backed workflow for macOS system configuration?

Using a flake-backed workflow for macOS system configuration ensures reproducibility and standardizes environment setup. It allows teams to quickly deploy and manage Darwin hosts with consistent configurations across multiple machines.

Do I need an existing nix-darwin setup to bootstrap a new Mac host?

Yes, you need a working nix-darwin setup to bootstrap a new Mac host. The deployment process relies on an existing flake structure and the darwin-rebuild command to apply the configuration.