nixfiles/home/c/programs/jj/default.nix
Callum Leslie 7a7f7fb13d
Some checks failed
/ ci (push) Has been cancelled
format
2026-04-14 15:08:15 +01:00

36 lines
764 B
Nix

{...}: {
programs.jujutsu = {
enable = true;
settings = {
user = {
name = "Callum Leslie";
email = "git@cleslie.uk";
};
signing = {
behavior = "own";
backend = "gpg";
};
ui = {
pager = "delta";
diff-formatter = ":git";
};
git = {
private-commits = "description(glob:'wip:*') | description(glob:'private:*') | description(glob:'fixup*')";
};
"--scope" = [
{
"--when".repositories = ["~/repos/projects.cs.nott.ac.uk"];
user = {
email = "psycl6@nottingham.ac.uk";
};
}
{
"--when".commands = ["status"];
ui.paginate = "never";
}
];
};
};
}