mirror of
https://github.com/NotAShelf/neovim-flake.git
synced 2024-11-08 10:15:59 +01:00
35 lines
889 B
Nix
35 lines
889 B
Nix
{lib, ...}: let
|
|
inherit (lib.options) mkEnableOption mkOption;
|
|
inherit (lib.types) str bool;
|
|
in {
|
|
options.vim.notes = {
|
|
obsidian = {
|
|
enable = mkEnableOption "complementary neovim plugins for Obsidian editor";
|
|
dir = mkOption {
|
|
type = str;
|
|
default = "~/my-vault";
|
|
description = "Obsidian vault directory";
|
|
};
|
|
|
|
daily-notes = {
|
|
folder = mkOption {
|
|
type = str;
|
|
default = "";
|
|
description = "Directory in which daily notes should be created";
|
|
};
|
|
date-format = mkOption {
|
|
type = str;
|
|
default = "";
|
|
description = "Date format used for creating daily notes";
|
|
};
|
|
};
|
|
|
|
completion = {
|
|
nvim_cmp = mkOption {
|
|
type = bool;
|
|
description = "If using nvim-cmp, otherwise set to false";
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|