Enable git sendmail and commit signing
This commit is contained in:
parent
e0b3e6a1c5
commit
e73985fcae
11
home/git.nix
11
home/git.nix
@ -1,7 +1,9 @@
|
|||||||
user:
|
user:
|
||||||
{ ... }: {
|
{ pkgs, ... }: {
|
||||||
programs.git = {
|
programs.git = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
/* for git send-email support */
|
||||||
|
package = pkgs.gitAndTools.gitFull;
|
||||||
userName = user.git.name;
|
userName = user.git.name;
|
||||||
userEmail = user.git.email;
|
userEmail = user.git.email;
|
||||||
delta = {
|
delta = {
|
||||||
@ -20,6 +22,13 @@ user:
|
|||||||
push = {
|
push = {
|
||||||
default = "simple";
|
default = "simple";
|
||||||
};
|
};
|
||||||
|
sendemail = {
|
||||||
|
smtpserver = "${pkgs.msmtp}/bin/msmtp";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
signing = {
|
||||||
|
key = "1FFE431282F4B8CC0A7579167FB009175885FC76";
|
||||||
|
signByDefault = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user