mirror of
https://github.com/nix-community/nixvim.git
synced 2025-11-25 11:49:40 +01:00
The `import module args` pattern is useful for applying inputs from outside of the module system, however it discards module location metadata that is usually associated with file-path modules. `lib.modules.importApply` solves that problem by wrapping the applied module using `lib.modules.setDefaultModuleLocation`. This means documentation, warnings, and errors will show the correct location. |
||
|---|---|---|
| .. | ||
| modules | ||
| _shared.nix | ||
| darwin.nix | ||
| hm.nix | ||
| nixos.nix | ||
| standalone.nix | ||