19 lines
352 B
Nix
19 lines
352 B
Nix
{ pkgs, configVars, ... }:
|
|
let
|
|
email = configVars.email.user;
|
|
in
|
|
{
|
|
programs.git = {
|
|
enable = true;
|
|
package = pkgs.gitAndTools.gitFull;
|
|
userName = "Sam";
|
|
userEmail = "${email}";
|
|
aliases = { };
|
|
extraConfig = {
|
|
pull.rebase = false;
|
|
init.defaultBranch = "master";
|
|
};
|
|
ignores = [ ".direnv" "result" ];
|
|
};
|
|
}
|