mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-24 12:45:24 +02:00
lib/modules: allow specifying system
as an evalNixvim
arg
This commit is contained in:
parent
7790746d38
commit
8c6f9ed8c4
3 changed files with 12 additions and 9 deletions
|
@ -2,9 +2,8 @@
|
|||
{
|
||||
perSystem =
|
||||
{
|
||||
pkgs,
|
||||
lib,
|
||||
makeNixvimWithModule,
|
||||
system,
|
||||
...
|
||||
}:
|
||||
{
|
||||
|
@ -13,12 +12,7 @@
|
|||
makeNixvim = module: makeNixvimWithModule { inherit module; };
|
||||
|
||||
nixvimConfiguration = helpers.modules.evalNixvim {
|
||||
modules = [
|
||||
{
|
||||
_file = ./legacy-packages.nix;
|
||||
nixpkgs.pkgs = lib.mkDefault pkgs;
|
||||
}
|
||||
];
|
||||
inherit system;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue