51 lines
1.1 KiB
Nix
Executable file
51 lines
1.1 KiB
Nix
Executable file
{pkgs, ...}: {
|
|
programs.git = {
|
|
enable = true;
|
|
userEmail = "cjriddz@protonmail.com";
|
|
userName = "iofq";
|
|
delta = {
|
|
enable = true;
|
|
options = {
|
|
side-by-side = true;
|
|
line-numbers = true;
|
|
};
|
|
};
|
|
extraConfig = {
|
|
core.editor = "nvim";
|
|
};
|
|
signing = {
|
|
key = "cjriddz@protonmail.com";
|
|
signByDefault = false;
|
|
};
|
|
extraConfig.pull.rebase = true;
|
|
};
|
|
programs.jujutsu = {
|
|
enable = true;
|
|
settings = {
|
|
user = {
|
|
email = "cjriddz@protonmail.com";
|
|
name = "iofq";
|
|
};
|
|
operation = {
|
|
username = "iofq";
|
|
};
|
|
ui = {
|
|
default-command = ["log"];
|
|
conflict-marker-style = "git";
|
|
merge-editor = "vimdiff";
|
|
diff.format = "git";
|
|
};
|
|
merge-tools.vimdiff = {
|
|
program = "nvim";
|
|
};
|
|
snapshot = {
|
|
max-new-file-size = "10MiB";
|
|
};
|
|
aliases = {
|
|
tug = ["bookmark" "move" "--from" "heads(::@- & bookmarks())" "--to" "@"];
|
|
ne = ["next" "--edit"];
|
|
be = ["edit" "-r" "@-"];
|
|
};
|
|
};
|
|
};
|
|
}
|