diff --git a/hosts/common/user/configs/gui/obsidian/default.nix b/hosts/common/user/configs/gui/obsidian/default.nix index 328c8d3..506fe56 100644 --- a/hosts/common/user/configs/gui/obsidian/default.nix +++ b/hosts/common/user/configs/gui/obsidian/default.nix @@ -103,7 +103,6 @@ in suspended = false; statusBarEntryEnabled = false; notificationsEnabled = false; - mobileNotificationsEnabled = true; customSortContextSubmenu = false; bookmarksGroupToConsumeAsOrderingReference = "Sort"; bookmarksContextMenus = false; @@ -423,37 +422,51 @@ in assetsDir = "Inbox/assets"; openNewNote = true; youtubeNote = '' - ## [%videoTitle%](%videoURL%) + --- + source: %videoURL% + --- %videoPlayer% ''; vimeoNote = '' - ## [%videoTitle%](%videoURL%) + --- + source: %videoURL% + --- %videoPlayer% ''; bilibiliNote = '' - ## [%videoTitle%](%videoURL%) + --- + source: %videoURL% + --- %videoPlayer% ''; twitterNote = '' - ## [%tweetAuthorName%](%tweetURL%) + --- + source: %tweetURL% + --- %tweetContent% ''; parsableArticleNote = '' - ## [%articleTitle%](%articleURL%) + --- + source: %articleURL% + --- %articleContent% ''; mastodonNote = '' - ## [%tootAuthorName%](%tootURL%) + --- + source: %tootURL% + --- > %tootContent% ''; stackExchangeNote = '' - ## [%questionTitle%](%questionURL%) + --- + source: %questionURL% + --- Author: [%authorName%](%authorProfileURL%) @@ -471,15 +484,22 @@ in > %answerContent% ''; tikTokNote = '' - ## [%videoDescription%](%videoURL%) + --- + source: %videoURL% + --- + + %videoDescription% %videoPlayer% ''; - notParsableArticleNote = "[%previewURL%](%articleURL%)"; + notParsableArticleNote = '' + --- + source: %articleURL% + --- + + %previewURL% + ''; textSnippetNote = "%content%"; - downloadImagesInArticleDir = true; - downloadMastodonMediaAttachmentsInDir = true; - downloadStackExchangeAssetsInDir = true; }; } (import ./plugins/style-settings { inherit pkgs; }) diff --git a/hosts/common/user/configs/gui/obsidian/theme.json b/hosts/common/user/configs/gui/obsidian/theme.json index 09da22c..3b4f2de 100644 --- a/hosts/common/user/configs/gui/obsidian/theme.json +++ b/hosts/common/user/configs/gui/obsidian/theme.json @@ -17,8 +17,8 @@ "minimal-style@@ax1@@dark": "{{colors.primary.dark.hex}}", "minimal-style@@ax2@@light": "{{colors.on_primary_container.light.hex}}", "minimal-style@@ax2@@dark": "{{colors.on_primary_container.dark.hex}}", - "minimal-style@@ax3@@light": "{{colors.primary_container.light.hex}}", - "minimal-style@@ax3@@dark": "{{colors.primary_container.dark.hex}}", + "minimal-style@@ax3@@light": "{{colors.primary.light.hex}}", + "minimal-style@@ax3@@dark": "{{colors.primary.dark.hex}}", "minimal-style@@sp1@@light": "{{colors.on_primary_container.light.hex}}", "minimal-style@@sp1@@dark": "{{colors.on_primary_container.dark.hex}}", "minimal-style@@color-red@@light": "{{colors.red.light.hex}}", diff --git a/hosts/eirene/nick.nix b/hosts/eirene/nick.nix index 51c54dd..24b1b01 100644 --- a/hosts/eirene/nick.nix +++ b/hosts/eirene/nick.nix @@ -70,6 +70,8 @@ in sops.defaultSopsFile = ../../users/${username}/secrets/secrets.yaml; theme.wallpaper = ../../users/${username}/secrets/wallpapers/clouds.png; + programs.obsidian.vaults."${hmConfig.xdg.userDirs.relativeDocuments}/Obsidian/master".enable = true; + services.syncthing.settings.folders = { obsidian = { label = "Obsidian";