nixos/modules/home/git.nix

23 lines
381 B
Nix
Raw Normal View History

2023-01-21 20:08:05 +00:00
{ pkgs, lib, config, ... }:
{
home-manager.users.jake.programs.git = {
enable = true;
extraConfig = {
user = {
email = "jake@hillion.co.uk";
name = "Jake Hillion";
};
pull = {
rebase = true;
};
merge = {
conflictstyle = "diff3";
};
init = {
defaultBranch = "main";
};
};
};
}