neovim-flake/modules/notifications/nvim-notify.nix

24 lines
349 B
Nix
Raw Normal View History

{
pkgs,
config,
lib,
...
}:
with lib;
with builtins; let
cfg = config.vim.notify.nvim-notify;
in {
options.vim.notify.nvim-notify = {
enable = mkOption {
type = types.bool;
description = "Enable animated notifications";
};
};
config =
mkIf cfg.enable
{
vim.startPlugins = ["nvim-notify"];
};
}