fact-nix

Extract and organize Nix domain knowledge from Serenitea Pot repository layouts.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Nix domain knowledge is essential for structuring robust flakes, modules, and hosts references in Serenitea Pot, enabling consistent configurations and reliable deployments.

Core Features & Use Cases

  • Repository layout awareness: Understands flake.nix entry points, lib.codgician namespace, hosts, modules, hm-modules, overlays, and apps.
  • Host and platform references: Captures macOS and Linux host mappings and architecture details to guide cross-platform configuration.
  • Pattern guidance: Describes standard module patterns, secret registration, and impermanence practices essential to maintainable infrastructure code.

Quick Start

Review the Serenitea Pot Nix knowledge and summarize the repository layout, host references, and common workflows.

Frequently Asked Questions about fact-nix

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

FAQPage Schema
How do I structure Nix flakes and modules for cross-platform hosts?

Structure Nix flakes by organizing flake.nix entry points, lib.codgician namespaces, hosts, modules, and hm-modules to map macOS and Linux architectures for consistent cross-platform configurations.

What are the standard module patterns for maintaining NixOS configurations?

Standard NixOS module patterns involve structuring flake.nix entry points, registering secrets, and applying impermanence practices to maintain robust infrastructure code across your repository layout.

Do I need prior knowledge of the Serenitea Pot repository to document Nix configurations?

Yes, you need familiarity with Nix and the Serenitea Pot repository layout, including its specific hosts, hm-modules, and overlays, to accurately map domain concepts to code and documentation.

How does the lib.codgician namespace work within a Nix flake?

The lib.codgician namespace provides custom utility functions within your Nix flake structure, helping organize domain knowledge and standardize configurations across different hosts and platforms.

Can I use Nix overlays to manage host-specific architecture details for macOS and Linux?

Yes, you can use Nix overlays alongside modules and host references to capture macOS and Linux host mappings, ensuring architecture details guide your cross-platform configuration accurately.

What is the best way to document secret registration and impermanence in NixOS?

The best way to document NixOS secret registration and impermanence is to extract standard module patterns from your repository layout, capturing how these practices maintain reliable infrastructure deployments.