32 lines
806 B
Nix
32 lines
806 B
Nix
{
|
|
programs.git = {
|
|
enable = true;
|
|
|
|
signing = {
|
|
key = "BA1D158DCE3DF089";
|
|
signByDefault = true;
|
|
};
|
|
|
|
settings = {
|
|
user = {
|
|
name = "Elisiei Yehorov";
|
|
email = "yehorovye@disroot.org";
|
|
};
|
|
|
|
tag.gpgSign = true;
|
|
credential.helper = "store";
|
|
push.default = "current";
|
|
init.defaultBranch = "main";
|
|
pull.rebase = true;
|
|
fetch.prune = true;
|
|
|
|
# @elisiei
|
|
url."git@github.com-elisiei:".insteadOf = "https://github.com/elisiei/";
|
|
url."git@github.com-elisiei:".pushInsteadOf = "https://github.com/elisiei/";
|
|
|
|
# @yehorovye
|
|
url."git@github.com-yehorovye:".insteadOf = "https://github.com/yehorovye/";
|
|
url."git@github.com-yehorovye:".pushInsteadOf = "https://github.com/yehorovye/";
|
|
};
|
|
};
|
|
}
|