nvf/modules/wrapper/environment/config.nix
2025-01-02 04:12:04 +03:00

14 lines
188 B
Nix

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