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.
This commit is contained in:
Matt Sturgeon 2025-01-18 06:38:54 +00:00
parent e3938e9464
commit 342161bf52
No known key found for this signature in database
GPG key ID: 4F91844CED1A8299
5 changed files with 99 additions and 0 deletions

View file

@ -5,6 +5,10 @@
path = ../templates/simple;
description = "A simple nix flake template for getting started with nixvim";
};
new = {
path = ../templates/experimental-flake-parts;
description = "An experimental flake template for configuring nixvim using evalNixvim and flake.parts";
};
};
# The following adds the template flake's checks to the main (current) flake's checks.