nvf/modules/plugins/rich-presence/cord-nvim/config.nix
2026-06-05 22:19:52 +02:00

22 lines
377 B
Nix

{
config,
lib,
...
}: let
inherit (lib.modules) mkIf;
cfg = config.vim.presence.cord-nvim;
in {
config = mkIf cfg.enable {
vim = {
globals.cord_defer_startup = true;
lazy.plugins.cord-nvim = {
package = "cord-nvim";
setupModule = "cord";
inherit (cfg) setupOpts;
event = ["DeferredUIEnter"];
};
};
};
}