this repo has no description

feat: move Jujutsu configuration to separate file

Changed files
+53 -47
modules
users
-47
modules/git.nix
···
branchless."revsets.alias".work = "heads(draft())";
};
};
-
-
programs.jujutsu = {
-
enable = true;
-
-
settings = {
-
user.email = "~@hauleth.dev";
-
user.name = "Łukasz Niemier";
-
-
aliases = {
-
lg = ["log"];
-
};
-
-
git.write-change-id-header = true;
-
-
signing = {
-
behaviour = "own";
-
backend = "ssh";
-
key = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIN7q0wm7C+EX0ORpRxeyhvWTT2BMPjSRQIZmbzPLIiHC";
-
-
backends.ssh = {
-
program = "/Applications/1Password.app/Contents/MacOS/op-ssh-sign";
-
-
allowed-signers = "~/.ssh/allowed_signers";
-
};
-
};
-
-
templates.draft_commit_description =''
-
concat(
-
coalesce(description, default_commit_description, "\n"),
-
surround(
-
"\nJJ: This commit contains the following changes:\n", "",
-
indent("JJ: ", diff.stat(72)),
-
),
-
"\nJJ: ignore-rest\n",
-
diff.git(),
-
)
-
'';
-
-
"--scope" = [
-
{
-
"--when".repositories = ["~/Workspace/supabase/"];
-
-
user.email = "lukasz@supabase.io";
-
}
-
];
-
};
-
};
}
···
branchless."revsets.alias".work = "heads(draft())";
};
};
}
+52
modules/jj.nix
···
···
+
{ pkgs, ... }: {
+
programs.jujutsu = {
+
enable = true;
+
+
settings = {
+
user.email = "~@hauleth.dev";
+
user.name = "Łukasz Niemier";
+
+
aliases = {
+
lg = ["log"];
+
};
+
+
git.write-change-id-header = true;
+
+
signing = {
+
behaviour = "own";
+
backend = "ssh";
+
key = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIN7q0wm7C+EX0ORpRxeyhvWTT2BMPjSRQIZmbzPLIiHC";
+
+
backends.ssh = {
+
program = "/Applications/1Password.app/Contents/MacOS/op-ssh-sign";
+
+
allowed-signers = "~/.ssh/allowed_signers";
+
};
+
};
+
+
templates.draft_commit_description =''
+
concat(
+
coalesce(description, default_commit_description, "\n"),
+
surround(
+
"\nJJ: This commit contains the following changes:\n", "",
+
indent("JJ: ", diff.stat(72)),
+
),
+
"\nJJ: ignore-rest\n",
+
diff.git(),
+
)
+
'';
+
+
"--scope" = [
+
{
+
"--when".repositories = ["~/Workspace/supabase/"];
+
+
user.email = "lukasz@supabase.io";
+
}
+
];
+
};
+
};
+
+
home.packages = [
+
pkgs.jjui
+
];
+
}
+1
users/hauleth.nix
···
../modules/pijul.nix
../modules/nvim.nix
../modules/ghostty.nix
./modules/dircolors.nix
{home.stateVersion = "24.11";}
];
···
../modules/pijul.nix
../modules/nvim.nix
../modules/ghostty.nix
+
../modules/jj.nix
./modules/dircolors.nix
{home.stateVersion = "24.11";}
];