home-manager
Installation
SKILL.md
Home Manager
Read the repository instructions, flake inputs, target host, imports, and existing Home Manager modules before editing. Preserve the project's module and feature-flag conventions.
Find the installation mode first
How Home Manager is installed decides which instructions apply and how changes take effect:
| Mode | Signs | Reference | Changes are applied by |
|---|---|---|---|
| NixOS module | home-manager.nixosModules imported and home-manager.users.<name> in a NixOS configuration |
NixOS module | The host's NixOS rebuild workflow |
| nix-darwin module | home-manager.darwinModules imported and home-manager.users.<name> in a darwinConfigurations entry |
installation, flakes | darwin-rebuild |
| Standalone | A homeConfigurations flake output, or ~/.config/home-manager/home.nix, and the home-manager command |
installation, flakes | home-manager switch |