neovim-flake/modules/utility/wakatime/config.nix

17 lines
216 B
Nix
Raw Normal View History

2023-05-10 13:41:17 +02:00
{
config,
lib,
2023-05-10 13:56:49 +02:00
pkgs,
2023-05-10 13:41:17 +02:00
...
}:
with lib;
with builtins; let
cfg = config.vim.utility.vim-wakatime;
in {
config = mkIf (cfg.enable) {
vim.startPlugins = [
2023-05-10 13:56:49 +02:00
pkgs.vimPlugins.vim-wakatime
2023-05-10 13:41:17 +02:00
];
};
}