Refactor nixvim to move it as standalone package instead of nixos module
This commit is contained in:
parent
92ec57e83f
commit
c75945ddba
8 changed files with 24 additions and 68 deletions
13
pkgs/nixvim/package.nix
Normal file
13
pkgs/nixvim/package.nix
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
makeNixvimWithModule,
|
||||
pkgs,
|
||||
lib,
|
||||
}:
|
||||
makeNixvimWithModule {
|
||||
inherit pkgs;
|
||||
module = {
|
||||
imports = with lib; youthlic.loadImports' ./. (filter (name: !hasSuffix "/package.nix" (toString name)));
|
||||
enableMan = true;
|
||||
plugins.lualine.enable = true;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue