locate_option
Find the files declaring and defining a NixOS/Home Manager option, with each contributed value, to edit the right configuration file.
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 | |||