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
์—…๋ฐ์ดํŠธ๋จ 2026. 1. 30.
์Šคํƒ€
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