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.
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