nixos-config/home/modules/git.nix

23 lines
369 B
Nix
Raw Normal View History

{
inputs,
config,
pkgs,
...
}: {
programs.git = {
enable = true;
2024-07-11 15:28:28 +02:00
userName = "xqtc";
2024-10-21 16:56:35 +02:00
userEmail = "tila@heroin.trade";
2024-10-19 14:33:28 +02:00
signing = {
2024-10-19 14:19:12 +02:00
key = "655F2C328563DC87FB2077CC2C064D095926D9D1";
signByDefault = true;
};
2024-07-06 16:42:49 +02:00
extraConfig = {
init = {
defaultBranch = "main";
};
};
2024-11-22 17:37:00 +01:00
diff-so-fancy.enable = true;
};
}