nix-patterns
Build NixOS Modules with Home Manager Patterns
NixOS and Home Manager module setup can be repetitive and error-prone. This skill gives concise patterns for packages, modules, and imports.
Install with my Agent
Copy this request to your Agent. It includes the canonical Skill page and manifest.
Review the Skillstore skill "nix-patterns" from https://skillstore.io/skills/edgarpost-nix-patterns.md and its manifest at https://skillstore.io/api/skills/edgarpost-nix-patterns/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.Your Agent should still show its plan and request any confirmation required by the security policy.
Agent-readable resources
Use these links when an AI agent, crawler, or script needs clean context instead of reading the full page.
Test it
Using "nix-patterns". I need a Home Manager module for a desktop app with one settings file.
Expected outcome:
A concise module plan with the package list, the user config file location, and the import location.
Using "nix-patterns". I want one package only on x86_64-linux systems.
Expected outcome:
A package list recommendation that separates shared packages from platform-specific packages.
Using "nix-patterns". My repository has mixed NixOS and Home Manager files.
Expected outcome:
A directory layout recommendation that separates user modules, system modules, host configuration, and the main home entry point.
Security Audit
SafeAll command-execution findings are Markdown backticks used for inline paths or fenced Nix examples, not executable code. The traversal finding is a normal relative Nix import example and does not process user input. No prompt injection or malicious intent was found in SKILL.md.
Risk Factors
โ๏ธ External commands (10)
๐ Filesystem access (1)
Share & cite this report
Share the versioned assessment report, neutral badge, embed card, and citations. Skillstore reports evidence without deciding whether this Skill is safe.
Copy report link
https://skillstore.io/skills/edgarpost-nix-patterns/audits/8?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportMarkdown badge
[](https://skillstore.io/skills/edgarpost-nix-patterns?utm_source=security_passport_badge)HTML badge
<a href="https://skillstore.io/skills/edgarpost-nix-patterns?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/edgarpost-nix-patterns/security.svg" alt="Skillstore security assessment" loading="lazy"></a>Embed card
<iframe src="https://skillstore.io/embed/skills/edgarpost-nix-patterns.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>Academic citations (APA ยท BibTeX ยท CFF)
APA citation
EdgarPost. (2026). nix-patterns security audit report (audit version 8) [Author version unspecified]. Skillstore. https://skillstore.io/skills/edgarpost-nix-patterns/audits/8BibTeX citation
@techreport{edgarpost-edgarpost-nix-patterns-2026,
author = {EdgarPost},
title = {nix-patterns security audit report (audit version 8)},
institution = {Skillstore},
year = {2026},
number = {8},
url = {https://skillstore.io/skills/edgarpost-nix-patterns/audits/8},
note = {Author version unspecified}
}CITATION.cff
cff-version: 1.2.0
message: "If you use this Skill, cite its author and this versioned security audit report."
title: "nix-patterns security audit report (audit version 8)"
version: "unspecified"
type: report
authors:
- name: "EdgarPost"
date-released: "2026-07-06"
url: "https://skillstore.io/skills/edgarpost-nix-patterns/audits/8"
identifiers:
- type: other
value: "skillstore:edgarpost-nix-patterns:audit:8"
description: "Skillstore immutable audit report identifier"
Skillstore Score
Why this score Evidence Confidence: HighWhat You Can Build
Create a Home Manager Module
Draft a small module that adds packages and writes user configuration files.
Organize System Configuration
Place NixOS modules, Home Manager modules, and host files in predictable directories.
Review Package Patterns
Check whether package additions use clear lists and platform-specific conditionals.
Try These Prompts
Use the nix-patterns skill to add these Home Manager packages: [packages]. Keep the module structure simple.
Use the nix-patterns skill to draft a Home Manager module for [program]. Include packages and one configuration file.
Use the nix-patterns skill to add [package] only on x86_64-linux while keeping shared packages available everywhere.
Use the nix-patterns skill to reorganize this Nix configuration into home modules, NixOS modules, host files, and imports.
Best Practices
- Keep Home Manager modules focused on user packages and user configuration files.
- Use platform conditionals when a package is only valid for one system type.
- Import modules from a clear entry point so configuration flow stays easy to review.
Avoid
- Mixing host-specific settings into reusable Home Manager modules.
- Adding platform-specific packages to shared package lists without conditionals.
- Creating modules without adding them to the appropriate import list.