neovim-flake/modules/dashboard/dashboard-nvim/config.nix
2023-04-02 19:59:08 +03:00

19 lines
305 B
Nix

{
config,
lib,
...
}:
with lib;
with builtins; let
cfg = config.vim.dashboard.dashboard-nvim;
in {
config = mkIf cfg.enable {
vim.startPlugins = [
"dashboard-nvim"
];
vim.luaConfigRC.dashboard-nvim = nvim.dag.entryAnywhere ''
require("dashboard").setup{}
'';
};
}