mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 00:25:42 +02:00
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:
parent
e3938e9464
commit
342161bf52
5 changed files with 99 additions and 0 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue