Fix obsidian.nvim workspace

This commit is contained in:
Martin Pander
2026-02-13 21:33:50 +01:00
parent f7d8e728ff
commit 0012b07304
2 changed files with 13 additions and 2 deletions

View File

@@ -377,7 +377,7 @@ dap.configurations.zig = {
},
}
if _G.is_home then
if _G.is_mac then
workspaces = {
{
name = "privat",
@@ -410,6 +410,16 @@ if _G.is_work then
daily_notes = {}
end
if _G.is_private_nixos then
workspaces = {
{
name = "tech",
path = "~/notes",
},
}
daily_notes = {}
end
require("obsidian").setup({
workspaces = workspaces,
templates = {