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
अपडेट किया गया 1/30/2026
स्टार
54
फोर्क
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.

इंस्टॉलेशन
$ install --globalskills.sh
उपयोग

इंस्टॉल करने के बाद, आप टर्मिनल में यह कमांड चलाकर इस स्किल का उपयोग कर सकते हैं:

skills use nix-platform-specific-options