{ config, ... }: { programs.zk = { enable = true; settings = { notebook = { dir = "~/Documents/Notes"; }; note = { filename = "{{slug title}}"; template = "note.md"; }; extra.author = "Venomade"; format.markdown = { link-format = "wiki"; hashtags = true; colon-tags = false; multiword-tags = true; }; tool = { editor = "kak"; shell = config.shellpath; fzf-preview = "bat -p --color always {-1}"; }; lsp.diagnostics = { wiki-title = "hint"; dead-link = "error"; missing-backlink = { level = "warning"; position = "bottom"; }; }; }; }; xdg.configFile."zk/templates/note.md".text = '' --- title: {{title}} tags: [] --- {{content}} ''; }