1
0
Fork 0
mirror of https://github.com/NotAShelf/neovim-flake.git synced 2024-12-25 12:39:49 +01:00
neovim-flake/modules/wrapper/build/config.nix

14 lines
188 B
Nix
Raw Permalink Normal View History

{
config,
lib,
...
}: let
inherit (lib.attrsets) attrValues;
cfg = config.vim;
in {
config = {
vim.startPlugins = map (x: x.package) (attrValues cfg.extraPlugins);
};
}