From c0a00462601b3333564495f49733b6ccc7fe440b Mon Sep 17 00:00:00 2001 From: Tyler Beckman Date: Sat, 28 Dec 2024 21:13:08 -0700 Subject: [PATCH] Swap jj text editor for zed as it is much much faster to launch than vscode --- home-manager/config/vcs/jj.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 +}