39 lines
802 B
Nix
39 lines
802 B
Nix
{ lib, ... }:
|
|
{
|
|
programs = {
|
|
git = {
|
|
userName = lib.mkDefault "derfenix";
|
|
userEmail = lib.mkDefault "derfenix@gmail.com";
|
|
|
|
extraConfig = {
|
|
core = {
|
|
hookspath = "/home/fenix/.git_settings/hooks";
|
|
};
|
|
|
|
url = {
|
|
"git@git.derfenix.pro:" = {
|
|
insteadOf = "https://git.derfenix.pro";
|
|
};
|
|
};
|
|
init = {
|
|
defaultBranch = "master";
|
|
};
|
|
protocol = {
|
|
"git" = {
|
|
allow = "always";
|
|
};
|
|
};
|
|
extensions = {
|
|
objectFormat = "sha256";
|
|
};
|
|
};
|
|
|
|
signing = {
|
|
format = "openpgp";
|
|
signByDefault = lib.mkDefault true;
|
|
key = lib.mkDefault "DD89337AFABD013FDD57A0F133445FB510D677DF";
|
|
};
|
|
};
|
|
};
|
|
}
|