Add work git signing settings

This commit is contained in:
Cyryl Płotnicki 2022-03-20 11:07:43 +00:00
parent e4ddb96257
commit 12ad31cd04
No known key found for this signature in database
GPG key ID: 534222210FE423ED

View file

@ -48,5 +48,14 @@
imports = [ ];
home.packages = [ ];
programs.git.userEmail = lib.mkForce "cyryl.plotnicki@form3.tech";
programs.git.extraConfig.user.signingkey =
"6441B1BC81F8FB1561C9AFF5534222210FE423ED";
programs.git.extraConfig.commit.gpgsign = true;
programs.gpg.enable = true;
programs.gpg.homedir = "/Users/cyryl/.gnupg";
programs.zsh.shellAliases = {
gpg = "gpg2 --homedir /Users/cyryl/.gnupg";
gpg2 = "gpg2 --homedir /Users/cyryl/.gnupg";
};
};
}