mirror of
https://github.com/sadan4/dotfiles.git
synced 2025-01-31 09:33:31 -05:00
36 lines
665 B
Nix
36 lines
665 B
Nix
|
{ ... }: {
|
||
|
programs = {
|
||
|
git = {
|
||
|
enable = true;
|
||
|
userName = "sadan";
|
||
|
userEmail = "117494111+sadan4@users.noreply.github.com";
|
||
|
extraConfig = {
|
||
|
gpg = {
|
||
|
format = "ssh";
|
||
|
};
|
||
|
user = {
|
||
|
signingkey = "~/.ssh/id_ed25519";
|
||
|
};
|
||
|
commit = {
|
||
|
gpgsign = true;
|
||
|
};
|
||
|
core = {
|
||
|
autocrlf = "input";
|
||
|
};
|
||
|
pull = {
|
||
|
rebase = true;
|
||
|
};
|
||
|
push = {
|
||
|
autoSetupRemote = true;
|
||
|
};
|
||
|
init = {
|
||
|
defaultBranch = "main";
|
||
|
};
|
||
|
rerere = {
|
||
|
enabled = true;
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
}
|