nixos/home/common/optional/git.nix

16 lines
326 B
Nix
Raw Normal View History

2024-05-11 20:55:27 +01:00
{ pkgs, lib, config, ... }:
{
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" ];
};
}