2023-02-27 19:26:16 +00:00
|
|
|
{
|
|
|
|
config,
|
|
|
|
lib,
|
|
|
|
...
|
|
|
|
}:
|
|
|
|
with lib;
|
2023-03-31 02:20:35 +00:00
|
|
|
with builtins; {
|
2023-02-27 19:26:16 +00:00
|
|
|
options.vim.notes.orgmode = {
|
2023-06-05 20:10:25 +00:00
|
|
|
enable = mkEnableOption "nvim-orgmode: Neovim plugin for Emac Orgmode. Get the best of both worlds";
|
2023-02-27 19:26:16 +00:00
|
|
|
orgAgendaFiles = mkOption {
|
|
|
|
type = types.str;
|
2023-06-05 20:10:25 +00:00
|
|
|
default = "{'~/Documents/org/*', '~/my-orgs/**/*'}";
|
2023-02-27 19:26:16 +00:00
|
|
|
description = "List of org files to be used as agenda files.";
|
|
|
|
};
|
|
|
|
orgDefaultNotesFile = mkOption {
|
|
|
|
type = types.str;
|
2023-06-05 20:10:25 +00:00
|
|
|
default = "~/Documents/org/refile.org";
|
2023-02-27 19:26:16 +00:00
|
|
|
description = "Default org file to be used for notes.";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|