mirror of
https://github.com/nix-community/nixvim.git
synced 2025-08-04 01:55:11 +02:00
flake: add nixvimConfigurations
flake-parts module
This commit is contained in:
parent
9aa6d0f6e6
commit
5426c9dd83
5 changed files with 37 additions and 7 deletions
|
@ -1,19 +1,15 @@
|
|||
{ helpers, ... }:
|
||||
{
|
||||
perSystem =
|
||||
{
|
||||
config,
|
||||
makeNixvimWithModule,
|
||||
system,
|
||||
...
|
||||
}:
|
||||
{
|
||||
legacyPackages = rec {
|
||||
inherit makeNixvimWithModule;
|
||||
makeNixvim = module: makeNixvimWithModule { inherit module; };
|
||||
|
||||
nixvimConfiguration = helpers.modules.evalNixvim {
|
||||
inherit system;
|
||||
};
|
||||
nixvimConfiguration = config.nixvimConfigurations.default;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue