mirror of
https://github.com/sadan4/dotfiles.git
synced 2025-01-18 19:23:39 -05:00
35 lines
665 B
Nix
35 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;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|