nixos/home/modules/user/git/default.nix
2025-11-16 01:03:19 +01:00

27 lines
698 B
Nix

{
programs.git = {
enable = true;
userName = "Elisiei Yehorov";
userEmail = "yehorovye@disroot.org";
signing = {
key = "BA1D158DCE3DF089";
signByDefault = true;
};
extraConfig = {
tag.gpgSign = true;
credential.helper = "store";
push.default = "current";
# @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/";
};
};
}