nix-config/modules/home/git/default.nix
2024-02-11 03:02:07 +01:00

16 lines
305 B
Nix

{ pkgs, ... }: {
programs.git = {
enable = true;
userName = "twoneis";
userEmail = "sanjay29@sapura.de";
extraConfig = {
init.defaultBranch = "main";
push.autoSetupRemote = true;
};
};
programs.gh = {
enable = true;
gitCredentialHelper.enabel = true;
};
}