diff options
author | Soispha <soispha@vhack.eu> | 2023-10-01 14:25:53 +0200 |
---|---|---|
committer | Soispha <soispha@vhack.eu> | 2023-10-01 14:54:38 +0200 |
commit | 7d56f48413c18b010450893e03809d37586aee3a (patch) | |
tree | 2feac0592c7be82eabf94897d1a3e17e93e0dfb6 /hm/soispha/pkgs/scripts.nix | |
parent | style(hm/pkgs/scripts): Reorder alphabetically (diff) | |
download | nixos-config-7d56f48413c18b010450893e03809d37586aee3a.zip |
feat(hm/pkgs/scrs/neorg): Add support for opening current task context
Diffstat (limited to 'hm/soispha/pkgs/scripts.nix')
-rw-r--r-- | hm/soispha/pkgs/scripts.nix | 5 |
1 files changed, 5 insertions, 0 deletions
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"; |