{ ... }: { 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; }; }; }; }; }