32 lines
597 B
Nix
32 lines
597 B
Nix
{ pkgs, ... }:
|
|
|
|
{
|
|
programs.git = {
|
|
enable = true;
|
|
delta.enable = true;
|
|
|
|
userName = "Noah Knegt";
|
|
userEmail = "personal@noahknegt.com";
|
|
|
|
extraConfig = {
|
|
push = { autoSetupRemote = true; };
|
|
pull = { rebase = true; };
|
|
fetch = { prune = true; };
|
|
};
|
|
|
|
includes = [
|
|
{
|
|
condition = "gitdir:~/git.noahknegt.com";
|
|
contents = {
|
|
userEmail = "git@noahknegt.com";
|
|
};
|
|
}
|
|
{
|
|
condition = "gitdir:~/open-source";
|
|
contents = {
|
|
userEmail = "git@noahknegt.com";
|
|
};
|
|
}
|
|
];
|
|
};
|
|
} |