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
Mis à jour 1/30/2026
Étoiles
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
Utilisation
Après l'installation, vous pouvez utiliser ce skill en exécutant la commande suivante dans votre terminal :
skills use nix-platform-specific-options