add jujutsu

This commit is contained in:
clover caruso 2025-08-31 21:30:48 -07:00
parent 27868a5a06
commit 45482ab529
No known key found for this signature in database
3 changed files with 25 additions and 0 deletions

View file

@ -77,6 +77,7 @@ in
# ViM and Neovim # ViM and Neovim
".*.swp" ".*.swp"
".nvimlog" ".nvimlog"
".jj"
]; ];
}; };
@ -134,6 +135,27 @@ in
autocd = true; autocd = true;
history.size = 10000; history.size = 10000;
}; };
jujutsu = {
settings = {
user = {
email = config.programs.git.userEmail;
name = config.programs.git.userName;
};
signing = {
behavior = "own";
backend = "ssh";
key = "~/.ssh/id_ed25519.pub";
};
git = {
sign-on-push = true;
push-new-bookmarks = true;
};
ui = {
default-command = "log";
pager = "${pkgs.bat}/bin/bat --style=plain";
};
};
};
ghostty.settings.custom-shader = lib.mkIf ( ghostty.settings.custom-shader = lib.mkIf (
cfg.ghostty.shader != null cfg.ghostty.shader != null

View file

@ -131,6 +131,7 @@
hide_dotfiles = false; hide_dotfiles = false;
never_show = [ never_show = [
".git" ".git"
".jj"
".DS_Store" # macOS ".DS_Store" # macOS
"thumbs.db" # Windows "thumbs.db" # Windows
]; ];

View file

@ -81,6 +81,8 @@ in
# use a git-specific email # use a git-specific email
git.userEmail = "git@paperclover.net"; git.userEmail = "git@paperclover.net";
jujutsu.enable = true;
ssh = { ssh = {
enable = true; enable = true;
matchBlocks = rec { matchBlocks = rec {