From b8e8a9bae3ea50c1ffbf3c0129c739f641907e7d Mon Sep 17 00:00:00 2001 From: Zoe Roux Date: Thu, 5 Jun 2025 14:20:13 +0200 Subject: [PATCH] Jujutsu setup --- modules/cli/home.nix | 1 + modules/cli/tools/jujutsu.nix | 22 ++++++++++++++++++++++ modules/cli/zsh/default.nix | 1 - 3 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 modules/cli/tools/jujutsu.nix diff --git a/modules/cli/home.nix b/modules/cli/home.nix index a21e222..2c2396c 100644 --- a/modules/cli/home.nix +++ b/modules/cli/home.nix @@ -2,6 +2,7 @@ imports = [ ./zsh ./tools/git.nix + ./tools/jujutsu.nix ./tools/tmux.nix ]; diff --git a/modules/cli/tools/jujutsu.nix b/modules/cli/tools/jujutsu.nix new file mode 100644 index 0000000..26ce663 --- /dev/null +++ b/modules/cli/tools/jujutsu.nix @@ -0,0 +1,22 @@ +{...}: { + programs.jujutsu = { + enable = true; + settings = { + user = { + name = "Zoe Roux"; + email = "zoe.roux@zoriya.dev"; + }; + signing = { + behavior = "own"; + backend = "ssh"; + allowed-signers = "~/.ssh/allowed_signers"; + }; + git = { + auto-local-bookmark = true; + }; + core = { + fsmonitor = "watchman"; + }; + }; + }; +} diff --git a/modules/cli/zsh/default.nix b/modules/cli/zsh/default.nix index 1a17c10..f3ee728 100644 --- a/modules/cli/zsh/default.nix +++ b/modules/cli/zsh/default.nix @@ -292,7 +292,6 @@ rename # this is perl-rename gfold lsof - jujutsu ] ++ lib.optionals pkgs.stdenv.isLinux [ usbutils