ref(nix): use nixpkgs.lib instead of my own helper functions

dont' reinvent the wheel
This commit is contained in:
Léana 江 2024-02-20 21:59:30 +01:00 committed by Léana 江
parent e54df83402
commit 2a48123c04
3 changed files with 6 additions and 14 deletions

View file

@ -4,8 +4,8 @@
settings,
...
}: let
inherit (settings.helperFuncs) if';
inherit (settings) extraLanguageServers;
inherit (pkgs) lib;
in {
programs.neovim = {
enable = true;
@ -18,7 +18,7 @@ in {
shellcheck
nil
]
++ if' extraLanguageServers [
++ lib.lists.optionals extraLanguageServers [
nodePackages.vim-language-server
vscode-langservers-extracted # HTML/CSS/JSON/ESLint
marksman