mirror of
https://github.com/ellmau/nixos.git
synced 2025-12-19 09:29:36 +01:00
Signed-off-by: Stefan Ellmauthaler <stefan.ellmauthaler@tu-dresden.de>
20 lines
477 B
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";};
|
|
};
|
|
};
|
|
}
|