1
0
Fork 0
mirror of https://github.com/nix-community/nixvim.git synced 2025-11-28 13:11:04 +01:00
Commit graph

11 commits

Author SHA1 Message Date
Matt Sturgeon
6bd43bf321 flake: push down homeManagerModules warning
Push the rename warning down to the actual attributes, to avoid printing
it too early. Additionally, bind the warning to top-level static value,
to avoid printing it multiple times.

Simplify `oldestSupportedReleaseIsAtLeast 2505` to `true`, assuming this
will not be backported.
2025-11-24 21:35:55 +00:00
Matt Sturgeon
3dc952d69c flake: simplify legacyPackages definitions
- Remove the `makeNixvimWithModule` module arg.
- Move standalone wrapper definitions to `wrappers.nix`
- Move `nixvimConfiguration` alias to `nixvim-configurations.nix`
2025-11-24 11:45:28 +00:00
Matt Sturgeon
947cb0aaed wrappers: use importApply to preserve module location
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.
2025-11-24 11:10:47 +00:00
Matt Sturgeon
fe059cd395 flake: add nixf-diagnose to treefmt config
Checks nixd's diagnostic lints using libnixf.
2025-10-01 00:42:40 +00:00
Alex Hamilton
b37d429468 flake/wrappers: Deprecate homeManagerModules output 2025-05-25 14:18:50 -04:00
Alex Hamilton
e4a27ae810 flake/wrappers: Make homeModules the canonical name 2025-05-25 12:43:10 -04:00
Alex Hamilton
c10f60d007 Migrate homeManagerModules uses to homeModules 2025-05-25 12:41:12 -04:00
Alex Hamilton
c1a14f8f5c flake/wrappers: Add homeModules flake output 2025-05-25 12:41:12 -04:00
Gaetan Lepage
e7f20a602f flake: remove unused 'inputs' 2025-02-07 23:21:35 +01:00
Matt Sturgeon
77c78bd04e
tests/platforms: move out of flake wrappers module
These should be set up in a dedicated test file, owned by
`tests/default.nix`.

Also refactored to use `callTest`.
2025-01-21 10:52:56 +00:00
Gaetan Lepage
998bae9dac flake-modules -> flake 2025-01-19 12:56:24 +01:00
Renamed from flake-modules/wrappers.nix (Browse further)