mirror of
https://github.com/ellmau/nixos.git
synced 2025-12-19 09:29:36 +01:00
Set correct signing option for home manager git
This commit is contained in:
parent
f5fdced221
commit
f1fd7a7466
@ -96,6 +96,7 @@ with lib; {
|
|||||||
programs.git = {
|
programs.git = {
|
||||||
userEmail = meta.mailAddress;
|
userEmail = meta.mailAddress;
|
||||||
userName = meta.description;
|
userName = meta.description;
|
||||||
|
signing.signByDefault = meta.git.signDefault;
|
||||||
extraConfig = {
|
extraConfig = {
|
||||||
gpg = lib.mkIf meta.git.gpgsm {
|
gpg = lib.mkIf meta.git.gpgsm {
|
||||||
format = "x509";
|
format = "x509";
|
||||||
@ -103,10 +104,6 @@ with lib; {
|
|||||||
};
|
};
|
||||||
user = {
|
user = {
|
||||||
signingKey = meta.git.key;
|
signingKey = meta.git.key;
|
||||||
#signByDefault = meta.git.signDefault;
|
|
||||||
};
|
|
||||||
commit = {
|
|
||||||
gpgsign = meta.git.signDefault;
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user