mirror of
https://codeberg.org/leana8959/.files.git
synced 2026-02-04 07:59:40 +00:00
ref(nix): use nixpkgs.lib instead of my own helper functions
dont' reinvent the wheel
This commit is contained in:
parent
e54df83402
commit
2a48123c04
3 changed files with 6 additions and 14 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue