mirror of
https://github.com/tuxdotrs/tawm.git
synced 2025-07-06 04:56:34 +05:30
21 lines
342 B
Nix
Executable File
21 lines
342 B
Nix
Executable File
{
|
|
email,
|
|
username,
|
|
...
|
|
}: {
|
|
programs.git = {
|
|
enable = true;
|
|
userName = "${username}";
|
|
userEmail = "${email}";
|
|
signing = {
|
|
key = "~/.ssh/id_ed25519.pub";
|
|
signByDefault = true;
|
|
};
|
|
extraConfig = {
|
|
init.defaultBranch = "main";
|
|
commit.gpgSign = true;
|
|
gpg.format = "ssh";
|
|
};
|
|
};
|
|
}
|