From 7d56f48413c18b010450893e03809d37586aee3a Mon Sep 17 00:00:00 2001 From: Soispha Date: Sun, 1 Oct 2023 14:25:53 +0200 Subject: feat(hm/pkgs/scrs/neorg): Add support for opening current task context --- hm/soispha/pkgs/scripts.nix | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'hm/soispha/pkgs/scripts.nix') diff --git a/hm/soispha/pkgs/scripts.nix b/hm/soispha/pkgs/scripts.nix index 837949be..e36ae62e 100644 --- a/hm/soispha/pkgs/scripts.nix +++ b/hm/soispha/pkgs/scripts.nix @@ -1,6 +1,7 @@ { pkgs, sysLib, + config, ... }: let write_script = { @@ -48,6 +49,10 @@ name = "neorg"; src = ./scripts/wrappers/neorg; dependencies = []; + replacementStrings = { + DEFAULT_NEORG_PROJECT_DIR = + config.programs.nixvim.plugins.neorg.modules."core.dirman".config.workspaces.projects; + }; }; update-sys-scr = write_script { name = "update-sys"; -- cgit 1.4.1