Enable personal obsidian config

Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
2024-07-24 18:26:05 +01:00
parent b704882129
commit dcc879743e
3 changed files with 37 additions and 15 deletions

View File

@@ -103,7 +103,6 @@ in
suspended = false; suspended = false;
statusBarEntryEnabled = false; statusBarEntryEnabled = false;
notificationsEnabled = false; notificationsEnabled = false;
mobileNotificationsEnabled = true;
customSortContextSubmenu = false; customSortContextSubmenu = false;
bookmarksGroupToConsumeAsOrderingReference = "Sort"; bookmarksGroupToConsumeAsOrderingReference = "Sort";
bookmarksContextMenus = false; bookmarksContextMenus = false;
@@ -423,37 +422,51 @@ in
assetsDir = "Inbox/assets"; assetsDir = "Inbox/assets";
openNewNote = true; openNewNote = true;
youtubeNote = '' youtubeNote = ''
## [%videoTitle%](%videoURL%) ---
source: %videoURL%
---
%videoPlayer% %videoPlayer%
''; '';
vimeoNote = '' vimeoNote = ''
## [%videoTitle%](%videoURL%) ---
source: %videoURL%
---
%videoPlayer% %videoPlayer%
''; '';
bilibiliNote = '' bilibiliNote = ''
## [%videoTitle%](%videoURL%) ---
source: %videoURL%
---
%videoPlayer% %videoPlayer%
''; '';
twitterNote = '' twitterNote = ''
## [%tweetAuthorName%](%tweetURL%) ---
source: %tweetURL%
---
%tweetContent% %tweetContent%
''; '';
parsableArticleNote = '' parsableArticleNote = ''
## [%articleTitle%](%articleURL%) ---
source: %articleURL%
---
%articleContent% %articleContent%
''; '';
mastodonNote = '' mastodonNote = ''
## [%tootAuthorName%](%tootURL%) ---
source: %tootURL%
---
> %tootContent% > %tootContent%
''; '';
stackExchangeNote = '' stackExchangeNote = ''
## [%questionTitle%](%questionURL%) ---
source: %questionURL%
---
Author: [%authorName%](%authorProfileURL%) Author: [%authorName%](%authorProfileURL%)
@@ -471,15 +484,22 @@ in
> %answerContent% > %answerContent%
''; '';
tikTokNote = '' tikTokNote = ''
## [%videoDescription%](%videoURL%) ---
source: %videoURL%
---
%videoDescription%
%videoPlayer% %videoPlayer%
''; '';
notParsableArticleNote = "[%previewURL%](%articleURL%)"; notParsableArticleNote = ''
---
source: %articleURL%
---
%previewURL%
'';
textSnippetNote = "%content%"; textSnippetNote = "%content%";
downloadImagesInArticleDir = true;
downloadMastodonMediaAttachmentsInDir = true;
downloadStackExchangeAssetsInDir = true;
}; };
} }
(import ./plugins/style-settings { inherit pkgs; }) (import ./plugins/style-settings { inherit pkgs; })

View File

@@ -17,8 +17,8 @@
"minimal-style@@ax1@@dark": "{{colors.primary.dark.hex}}", "minimal-style@@ax1@@dark": "{{colors.primary.dark.hex}}",
"minimal-style@@ax2@@light": "{{colors.on_primary_container.light.hex}}", "minimal-style@@ax2@@light": "{{colors.on_primary_container.light.hex}}",
"minimal-style@@ax2@@dark": "{{colors.on_primary_container.dark.hex}}", "minimal-style@@ax2@@dark": "{{colors.on_primary_container.dark.hex}}",
"minimal-style@@ax3@@light": "{{colors.primary_container.light.hex}}", "minimal-style@@ax3@@light": "{{colors.primary.light.hex}}",
"minimal-style@@ax3@@dark": "{{colors.primary_container.dark.hex}}", "minimal-style@@ax3@@dark": "{{colors.primary.dark.hex}}",
"minimal-style@@sp1@@light": "{{colors.on_primary_container.light.hex}}", "minimal-style@@sp1@@light": "{{colors.on_primary_container.light.hex}}",
"minimal-style@@sp1@@dark": "{{colors.on_primary_container.dark.hex}}", "minimal-style@@sp1@@dark": "{{colors.on_primary_container.dark.hex}}",
"minimal-style@@color-red@@light": "{{colors.red.light.hex}}", "minimal-style@@color-red@@light": "{{colors.red.light.hex}}",

View File

@@ -70,6 +70,8 @@ in
sops.defaultSopsFile = ../../users/${username}/secrets/secrets.yaml; sops.defaultSopsFile = ../../users/${username}/secrets/secrets.yaml;
theme.wallpaper = ../../users/${username}/secrets/wallpapers/clouds.png; theme.wallpaper = ../../users/${username}/secrets/wallpapers/clouds.png;
programs.obsidian.vaults."${hmConfig.xdg.userDirs.relativeDocuments}/Obsidian/master".enable = true;
services.syncthing.settings.folders = { services.syncthing.settings.folders = {
obsidian = { obsidian = {
label = "Obsidian"; label = "Obsidian";