home/categories/framework-internals/edmundmiller-dotfiles-agents-skills-nix-platform-specific-options-skill-md
framework-internalsdevelopment

nix-platform-specific-options

Write Nix modules with platform-specific options (NixOS vs Darwin) without infinite recursion. Use when mkIf causes evaluation errors or options don't exist across platforms.

edmundmiller
maintainer
edmundmiller
Updated 1/30/2026
Stars
54
Forks
5
quick start

Installation and usage

Write Nix modules with platform-specific options (NixOS vs Darwin) without infinite recursion. Use when mkIf causes evaluation errors or options don't exist across platforms.

Installation
$ install --globalskills.sh
Usage

Once installed, you can use this skill by running the following command in your terminal:

skills use nix-platform-specific-options