nixos/home/common/optional/git.nix

16 lines
313 B
Nix

{ pkgs, ... }:
{
programs.git = {
enable = true;
package = pkgs.gitAndTools.gitFull;
userName = "Sam";
userEmail = "samual.shop@proton.me";
aliases = { };
extraConfig = {
pull.rebase = false;
init.defaultBranch = "master";
};
ignores = [ ".direnv" "result" ];
};
}