diff --git a/home-manager/config/vcs/jj.nix b/home-manager/config/vcs/jj.nix index 26e18b3..6c2b9e1 100644 --- a/home-manager/config/vcs/jj.nix +++ b/home-manager/config/vcs/jj.nix @@ -1,4 +1,4 @@ -{ pkgs, ... }: +{ pkgs, lib, config, ... }: { programs.jujutsu = { enable = true; @@ -20,7 +20,7 @@ pager = "delta"; default-command = "log"; - editor = "codium --wait"; + editor = lib.mkIf (config.meta.home-manager.desktop.enable) "zeditor --wait"; diff = { format = "git"; @@ -32,4 +32,4 @@ }; }; }; -} \ No newline at end of file +}