mirror of
https://github.com/NotAShelf/neovim-flake.git
synced 2024-11-13 02:45:57 +01:00
24 lines
349 B
Nix
24 lines
349 B
Nix
|
{
|
||
|
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"];
|
||
|
};
|
||
|
}
|