mirror of
https://github.com/elwrcl/copnix.git
synced 2026-10-31 06:18:03 +03:00
40 lines
923 B
Nix
40 lines
923 B
Nix
{ ... }:
|
|
{
|
|
flake.homeModules.home-obsidian =
|
|
{ ... }:
|
|
{
|
|
programs.obsidian = {
|
|
enable = true;
|
|
defaultSettings = {
|
|
app = {
|
|
promptDelete = false;
|
|
alwaysUpdateLinks = true;
|
|
newFileLocation = "current";
|
|
attachmentFolderPath = "attachments";
|
|
vimMode = false;
|
|
};
|
|
corePlugins = [
|
|
"file-explorer"
|
|
"global-search"
|
|
"switcher"
|
|
"graph"
|
|
"backlink"
|
|
"outgoing-link"
|
|
"tag-pane"
|
|
"page-preview"
|
|
"daily-notes"
|
|
"templates"
|
|
"note-composer"
|
|
"command-palette"
|
|
"editor-status"
|
|
"bookmarks"
|
|
"outline"
|
|
"word-count"
|
|
"file-recovery"
|
|
];
|
|
};
|
|
vaults.notes.target = "Documents/Obsidian";
|
|
};
|
|
};
|
|
}
|