46 lines
904 B
Nix
Executable file
46 lines
904 B
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;
|
|
aliases = {
|
|
a = "add . -p";
|
|
s = "status";
|
|
f = "fetch";
|
|
d = "diff";
|
|
cm = "commit -m";
|
|
rb = "rebase -i";
|
|
};
|
|
};
|
|
programs.jujutsu = {
|
|
enable = true;
|
|
settings = {
|
|
user = {
|
|
email = "cjriddz@protonmail.com";
|
|
name = "iofq";
|
|
};
|
|
ui = {
|
|
pager = "${pkgs.bat}/bin/bat";
|
|
default-command = ["log"];
|
|
};
|
|
snapshot = {
|
|
max-new-file-size = "10MiB";
|
|
};
|
|
};
|
|
};
|
|
}
|