nix-patterns — nix-patterns setup guide nix-patterns setup guide, NixOS module configuration, home-manager setup, nix-patterns vs nixos-config, how to use nix-patterns, nix-patterns install, nix-patterns alternative, nixos-config vs home-manager, nix-patterns tutorial, nix-patterns documentation

v1.0.0
GitHub

About this Skill

Perfect for System Administration Agents needing standardized NixOS configuration management. nix-patterns is a set of guidelines for organizing and configuring NixOS modules, including home-manager and system services, using a specific directory structure and package management syntax.

Features

Standardized directory structure using `modules/home` directories
Package management using `home.packages` and `lib.optionals`
Creation of custom modules using `{ pkgs, ... }: { ... }` syntax
Integration with home-manager for user packages and dotfiles
Conditional package installation based on `stdenv.hostPlatform.system`

# Core Topics

EdgarPost EdgarPost
[0]
[0]
Updated: 3/8/2026

Quality Score

Top 5%
30
Excellent
Based on code quality & docs
Installation
SYS Universal Install (Auto-Detect)
Cursor IDE Windsurf IDE VS Code IDE
> npx killer-skills add EdgarPost/claude-code/nix-patterns

Agent Capability Analysis

The nix-patterns MCP Server by EdgarPost is an open-source Categories.community integration for Claude and other AI agents, enabling seamless task automation and capability expansion. Optimized for nix-patterns setup guide, NixOS module configuration, home-manager setup.

Ideal Agent Persona

Perfect for System Administration Agents needing standardized NixOS configuration management.

Core Value

Empowers agents to manage NixOS modules with a structured directory structure, standardized package management, and configuration options like home-manager modules and machine-specific configurations using Nix expressions.

Capabilities Granted for nix-patterns MCP Server

Configuring NixOS modules for system services and user packages
Managing home-manager modules for dotfiles and user-specific configurations
Creating machine-specific configurations for hosts

! Prerequisites & Limits

  • Requires NixOS environment
  • Limited to Nix expression syntax
  • Dependent on Nix package manager
Project
SKILL.md
706 B
.cursorrules
1.2 KB
package.json
240 B
Ready
UTF-8

# Tags

[No tags]
SKILL.md
Readonly

NixOS Module Patterns

Directory structure

  • modules/home/*.nix - Home-manager modules (user packages, dotfiles)
  • modules/nixos/*.nix - NixOS modules (system services)
  • hosts/*/ - Machine-specific configuration
  • home/default.nix - Main home-manager entry point

Adding packages

nix
1home.packages = with pkgs; [ 2 package-name 3] ++ lib.optionals (stdenv.hostPlatform.system == "x86_64-linux") [ 4 x86-only-package 5];

Creating a module

nix
1{ pkgs, ... }: 2{ 3 home.packages = with pkgs; [ mypackage ]; 4 xdg.configFile."app/config.json".text = builtins.toJSON { setting = "value"; }; 5}

Import in home/default.nix:

nix
1imports = [ ../modules/home/mymodule.nix ];

Related Skills

Looking for an alternative to nix-patterns or building a Categories.community AI Agent? Explore these related open-source MCP Servers.

View All

widget-generator

Logo of f
f

widget-generator is an open-source AI agent skill for creating widget plugins that are injected into prompt feeds on prompts.chat. It supports two rendering modes: standard prompt widgets using default PromptCard styling and custom render widgets built as full React components.

149.6k
0
Design

chat-sdk

Logo of lobehub
lobehub

chat-sdk is a unified TypeScript SDK for building chat bots across multiple platforms, providing a single interface for deploying bot logic.

73.0k
0
Communication

zustand

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
Communication

data-fetching

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
Communication