mirror of
https://github.com/NotAShelf/nvf.git
synced 2024-11-02 03:21:14 +00: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"];
|
||
|
};
|
||
|
}
|