From 570f84684d42f32ecd61abfedc180eebd4c6238f Mon Sep 17 00:00:00 2001 From: Christoph Schmatzler Date: Mon, 8 Dec 2025 17:18:58 +0000 Subject: [PATCH] more zk --- modules/home/neovim/default.nix | 1 + modules/home/neovim/plugins/zk.nix | 3 +-- modules/home/zk.nix | 15 ++++----------- modules/packages.nix | 1 + 4 files changed, 7 insertions(+), 13 deletions(-) diff --git a/modules/home/neovim/default.nix b/modules/home/neovim/default.nix index 3750f89..c69595d 100644 --- a/modules/home/neovim/default.nix +++ b/modules/home/neovim/default.nix @@ -14,6 +14,7 @@ ./plugins/oil.nix ./plugins/toggleterm.nix ./plugins/treesitter.nix + ./plugins/zk.nix ]; programs.nixvim = { diff --git a/modules/home/neovim/plugins/zk.nix b/modules/home/neovim/plugins/zk.nix index 783af8e..8098baa 100644 --- a/modules/home/neovim/plugins/zk.nix +++ b/modules/home/neovim/plugins/zk.nix @@ -1,7 +1,6 @@ { programs.nixvim.plugins.zk = { enable = true; - settings = { - }; + settings = {}; }; } diff --git a/modules/home/zk.nix b/modules/home/zk.nix index 338337e..a62fd21 100644 --- a/modules/home/zk.nix +++ b/modules/home/zk.nix @@ -1,16 +1,9 @@ { programs.zk = { enable = true; - settings = { - notebook = { - path = "~/Projects/Personal/Zettelkasten"; - }; - note = { - language = "en"; - }; - extra = { - author = "Christoph Schmatzler"; - }; - }; + settings = {}; + }; + home.sessionVariables = { + ZK_NOTEBOOK_DIR = "$HOME/Projects/Personal/Zettelkasten"; }; } diff --git a/modules/packages.nix b/modules/packages.nix index 8fad44c..ae34996 100644 --- a/modules/packages.nix +++ b/modules/packages.nix @@ -39,5 +39,6 @@ with pkgs; [ tree-sitter unzip vivid + ov zip ]