feat: added obsidian home manager config

This commit is contained in:
Nick 2025-07-15 22:53:44 -05:00
parent 1b00f3c687
commit 11d55b22d6
9 changed files with 515 additions and 13 deletions

View file

@ -1,11 +1,35 @@
{
flake,
pkgs,
...
}:
let
inherit (flake.config.people) user0;
vault0Path = ./vault0;
vault0Settings = {
appearance = import (vault0Path + "/appearance.nix");
app = import (vault0Path + "/app.nix");
# themes = import (vault0Path + "/themes.nix");
hotkeys = import (vault0Path + "/hotkeys.nix");
corePlugins = import (vault0Path + "/corePlugins.nix");
# communityPlugins = import (vault0Path + "/communityPlugins.nix") { inherit pkgs; };
};
in
{
home.packages = builtins.attrValues {
inherit (pkgs)
obsidian
;
};
programs.obsidian = {
enable = false;
package = pkgs.obsidian;
vaults = {
"obsidian" = {
enable = true;
target = "/home/${user0}/Files/Projects/dotfiles/modules/home/gui/apps/media/docs/docEditing/obsidian/vault0/files";
settings = vault0Settings;
};
};
};
}

View file

@ -0,0 +1,18 @@
{
"livePreview" = false;
"promptDelete" = false;
"pdfExportSettings" = {
"includeName" = true;
"pageSize" = "Letter";
"landscape" = false;
"margin" = "0";
"downscalePercent" = 100;
};
"showLineNumber" = true;
"defaultViewMode" = "preview";
"alwaysUpdateLinks" = true;
"trashOption" = "local";
"newFileLocation" = "folder";
"newFileFolderPath" = "🏛 Home";
"attachmentFolderPath" = "/";
}

View file

@ -0,0 +1,15 @@
{
"accentColor" = "#7e5496";
"translucency" = false;
"nativeMenus" = false;
"baseFontSize" = 13;
"cssTheme" = "AnuPpuccin";
"theme" = "obsidian";
"interfaceFontFamily" = "";
"textFontFamily" = "";
"enabledCssSnippets" = [
"img-grid"
"slide_fixes"
];
"showViewHeader" = true;
}

View file

@ -0,0 +1,314 @@
[
{
package = "obsidian-local-images";
enable = true;
settings = {
realTimeUpdate = true;
realTimeUpdateInterval = 1000;
realTimeAttemptsToProcess = 3;
cleanContent = true;
showNotifications = true;
include = ''.*\\.md'';
mediaRootDirectory = "🥙 Nutrition Vault";
};
}
{
package = "obsidian-image-toolkit";
enable = true;
settings = { };
}
{
package = "simple-embeds";
enable = true;
settings = {
replaceAppleMusicLinks = true;
replaceApplePodcastsLinks = true;
replaceAppleTVLinks = true;
replaceCodepenLinks = true;
replaceFlatIOLinks = true;
replaceGitHubGistLinks = true;
replaceInstagramLinks = true;
replaceNoteflightLinks = true;
replaceTwitterLinks = true;
replaceYouTubeLinks = true;
twitterTheme = "auto";
codepenTheme = "auto";
codepenDefaultTab = "html";
codepenShowResult = true;
codepenClickToLoad = false;
codepenEditable = false;
centerEmbeds = true;
keepLinksInPreview = true;
embedPlacement = "above";
disableAutomaticEmbeds = false;
};
}
{
package = "templater-obsidian";
enable = true;
settings = {
command_timeout = 5;
templates_folder = "📋 Templates";
templates_pairs = [
[
""
""
]
];
trigger_on_file_creation = false;
auto_jump_to_cursor = false;
enable_system_commands = false;
shell_path = "";
user_scripts_folder = "";
enable_folder_templates = true;
folder_templates = [
{
folder = "";
template = "";
}
];
syntax_highlighting = true;
syntax_highlighting_mobile = false;
enabled_templates_hotkeys = [
"📋 Templates/Argument Template.md"
"📋 Templates/Template.md"
"📋 Templates/Debate Template.md"
"📋 Templates/NTT Template.md"
"📋 Templates/Event Template.md"
"📋 Templates/Simple Argument Template.md"
];
startup_templates = [
""
];
enable_ribbon_icon = true;
};
}
{
package = "auto-note-mover";
enable = true;
settings = {
trigger_auto_manual = "Automatic";
use_regex_to_check_for_tags = false;
statusBar_trigger_indicator = true;
folder_tag_pattern = [
{
folder = "🛡 Debate/Opponents";
tag = "#debate_opponents";
pattern = "";
}
{
folder = "💻 Hyperblog/Blogs/Patreon";
tag = "#patreon_articles";
pattern = "";
}
];
use_regex_to_check_for_excluded_folder = false;
excluded_folder = [
{
folder = "";
}
];
};
}
{
package = "obsidian-mind-map";
enable = true;
settings = { };
}
{
package = "obsidian-enhancing-mindmap";
enable = true;
settings = { };
}
{
package = "obsidian-contextual-typography";
enable = true;
settings = { };
}
{
package = "table-editor-obsidian";
enable = true;
settings = {
formatType = "normal";
showRibbonIcon = true;
bindEnter = true;
bindTab = true;
};
}
{
package = "better-word-count";
enable = true;
settings = { };
}
{
package = "obsidian-autocomplete-plugin";
enable = true;
settings = {
enabled = false;
autoSelect = false;
autoTrigger = true;
autoTriggerMinSize = 3;
triggerLikeVim = false;
latexProvider = false;
flowProvider = true;
flowProviderScanCurrent = true;
flowProviderTokenizeStrategy = "default";
flowWordSeparators = {
default = ''~?!@#$%^&*()-=+[{]}|;:' \",.<>/'';
arabic = ''~?!@#$%^&*()-=+[{]}|;:' \",.<>/،؛'';
japanese = ''~?!@#$%^&*()-=+[{]}|;:' \",.<>/'';
};
};
}
{
package = "obsidian-regex-replace";
enable = true;
settings = {
findText = "";
replaceText = "";
useRegEx = true;
selOnly = false;
caseInsensitive = false;
processLineBreak = false;
processTab = false;
prefillFind = false;
};
}
{
package = "tag-wrangler";
enable = true;
settings = { };
}
{
package = "code-block-copy";
enable = true;
settings = { };
}
{
package = "open-in-new-tab";
enable = true;
settings = { };
}
{
package = "obsidian-pandoc";
enable = true;
settings = {
showCLICommands = false;
addExtensionsToInternalLinks = "html";
injectAppCSS = "light";
injectThemeCSS = false;
customCSSFile = null;
displayYAMLFrontmatter = false;
linkStrippingBehaviour = "link";
highDPIDiagrams = true;
pandoc = null;
pdflatex = null;
outputFolder = null;
extraArguments = "";
exportFrom = "html";
};
}
{
package = "obsidian-columns";
enable = true;
settings = { };
}
{
package = "obsidian-excalidraw-plugin";
enable = true;
settings = { };
}
{
package = "typst";
enable = true;
settings = {
format = "image";
noFill = true;
fill = "#ffffff";
pixel_per_pt = 3;
search_system = false;
override_math = false;
font_families = [ ];
preamable = {
shared = ''#set text(fill: white, size: SIZE)\n#set page(width: WIDTH, height: HEIGHT)'';
math = ''#set page(margin: 0pt)\n#set align(horizon)'';
code = "#set page(margin: (y: 1em, x: 0pt))";
};
plugin_version = "0.10.0";
autoDownloadPackages = true;
};
}
{
package = "obsidian-sort-and-permute-lines";
enable = true;
settings = { };
}
{
package = "obsidian-git";
enable = true;
settings = { };
}
{
package = "obsidian-enhancing-export";
enable = true;
settings = {
items = [
{
name = "Markdown";
}
{
name = "Markdown (Hugo)";
}
{
name = "Html";
}
{
name = "TextBundle";
}
{
name = "PDF";
}
{
name = "Word (.docx)";
}
{
name = "OpenOffice";
}
{
name = "RTF";
}
{
name = "Epub";
}
{
name = "Latex";
}
{
name = "Media Wiki";
}
{
name = "reStructuredText";
}
{
name = "Textile";
}
{
name = "OPML";
}
];
defaultExportDirectoryMode = "Auto";
openExportedFile = true;
version = "1.1.8";
lastEditName = "Html";
lastExportDirectory = {
linux = "/home/nick/Documents";
};
lastExportType = "Html";
};
}
{
package = "folders2graph";
enable = true;
settings = { };
}
]

View file

@ -0,0 +1,30 @@
[
"file-explorer"
"global-search"
"switcher"
"graph"
"backlink"
"canvas"
"outgoing-link"
"tag-pane"
"page-preview"
"daily-notes"
"templates"
"note-composer"
"command-palette"
"slash-command"
"editor-status"
"markdown-importer"
"zk-prefixer"
"random-note"
"outline"
"word-count"
"slides"
"audio-recorder"
"workspaces"
"file-recovery"
"publish"
"sync"
"bookmarks"
"properties"
]

View file

@ -0,0 +1,111 @@
{
"file-explorer:new-file" = [
{
"modifiers" = [
"Mod"
];
"key" = "T";
}
];
"workspace:new-tab" = [ ];
"templater-obsidian=📋 Templates/Template.md" = [
{
"modifiers" = [
"Alt"
"Mod"
"Shift"
];
"key" = "T";
}
];
"obsidian-enhancing-mindmap:Toggle to markdown or mindmap" = [
{
"modifiers" = [
"Alt"
"Mod"
"Shift"
];
"key" = "W";
}
];
"obsidian-enhancing-mindmap:Export to html" = [
{
"modifiers" = [
"Alt"
"Mod"
"Shift"
];
"key" = "P";
}
];
"templater-obsidian:📋 Templates/Debate Template.md" = [
{
"modifiers" = [
"Alt"
"Mod"
"Shift"
];
"key" = "D";
}
];
"templater-obsidian:📋 Templates/NTT Template.md" = [
{
"modifiers" = [
"Alt"
"Mod"
"Shift"
];
"key" = "N";
}
];
"3d-graph:open-3d-graph-global" = [
{
"modifiers" = [
"Alt"
"Mod"
"Shift"
];
"key" = "O";
}
];
"templater-obsidian:📋 Templates/Event Template.md" = [
{
"modifiers" = [
"Alt"
"Mod"
"Shift"
];
"key" = "E";
}
];
"templater-obsidian:📋 Templates/Argument Template.md" = [
{
"modifiers" = [
"Alt"
"Mod"
"Shift"
];
"key" = "G";
}
];
"auto-note-mover:Move-the-note" = [
{
"modifiers" = [
"Alt"
"Mod"
"Shift"
];
"key" = "K";
}
];
"templater-obsidian:📋 Templates/Simple Argument Template.md" = [
{
"modifiers" = [
"Alt"
"Mod"
"Shift"
];
"key" = "S";
}
];
}

View file

@ -0,0 +1,3 @@
[
"AnuPpuccin"
]