nixos-combined-flake/modules/nixvim/plugins/neorg.nix

60 lines
1.1 KiB
Nix

_: {
plugins.neorg = {
enable = false;
modules = {
"core.defaults" = {
__empty = null;
};
"core.concealer" = {
config = {
init_open_folds = "auto";
};
};
"core.dirman" = {
config = {
workspaces = {
notes = "~/Sync/norg/notes";
};
default_workspace = "notes";
};
};
"core.completion" = {
config = {
engine = "nvim-cmp";
};
};
"core.summary" = {
__empty = null;
};
"core.manoeuvre" = {
__empty = null;
};
"core.tangle" = {
__empty = null;
};
"core.export" = {
config = {
export_dir = "~/Sync/notes-export";
};
};
"core.export.markdown" = {
__empty = null;
};
"core.esupports.metagen" = {
config = {
type = "auto";
};
};
"core.integrations.telescope" = {
__empty = null;
};
};
};
keymaps = [
{
key = "<leader>ni";
action = ":Neorg index<CR>";
}
];
}