Refactor nixvim to move it as standalone package instead of nixos module

This commit is contained in:
ulic-youthlic 2025-07-13 06:04:55 +08:00
parent 92ec57e83f
commit c75945ddba
Signed by: youthlic
GPG key ID: 63E86C3C14A0D721
8 changed files with 24 additions and 68 deletions

13
pkgs/nixvim/package.nix Normal file
View 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;
};
}