locate_option
Find which files define a NixOS or Home Manager option, with each file and contributed value, to quickly edit the right configuration.
Instructions
Where does this configuration set an option: files declaring it and every file defining it, with each contributed value (e.g. attr='services.openssh.enable'). The bridge from mcp-nixos discovery to editing the right file. For integrated Home Manager, query the NixOS config with attr='home-manager.users..'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| attr | Yes | ||
| mode | No | nixos | |
| flake_uri | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||