1
0
mirror of https://github.com/ellmau/nixos.git synced 2025-12-19 09:29:36 +01:00
nixos/users/ellmau/git.nix

20 lines
477 B
Nix

{ config, pkgs, ...}:
{
programs.git = {
enable = true;
package = pkgs.gitAndTools.gitFull;
userName = "Stefan Ellmauthaler";
userEmail = "stefan.ellmauthaler@tu-dresden.de";
extraConfig = {
core = { editor = "emacsclient"; };
gpg = {
format = "x509";
program = "gpgsm";
};
user = { signingKey = "0x4998BEEE"; };
init = { defaultBranch = "main";};
branch = { autosetuprebase = "always";};
};
};
}