Commit graph

4 commits

Author SHA1 Message Date
Matt Sturgeon
6d10fc0c87
flake: partition dev dependencies
This removes the need for end-users to manually set
`nixvim.inputs.devshell.follows = ""` (etc)

We offload evaluation of some of our flake modules into a `dev`
partition submodule.
- When its not needed, this submodule is not evaluated.
- When it is needed, it fetches extra inputs from `flake/dev/flake.nix`
  as part of evaluating the submodule.

See https://flake.parts/options/flake-parts-partitions.html
2025-02-23 17:23:57 +00:00
Matt Sturgeon
342161bf52
templates: add experimental-flake-parts template
This template uses the lower-level `evalNixvim` function to work
directly with nixvim configurations, instead of the prior idiom of using
`makeNixvim` to produce nixvim packages.

Additionally, the template is build on flake.parts, and demonstrates
using our recently added flakeModules.
2025-01-21 18:29:33 +00:00
Matt Sturgeon
e3938e9464
templates: inherit checks from _all_ templates 2025-01-21 18:29:33 +00:00
Gaetan Lepage
998bae9dac flake-modules -> flake 2025-01-19 12:56:24 +01:00
Renamed from flake-modules/templates.nix (Browse further)