Added gpg config

This commit is contained in:
Alejandro Angulo 2023-03-19 08:56:42 -07:00
parent e62903e640
commit f0d75d5632
Signed by: alejandro-angulo
GPG key ID: 75579581C74554B6
2 changed files with 42 additions and 1 deletions

View file

@ -7,6 +7,7 @@
}:
with lib; let
cfg = config.aa.tools.git;
gpg = config.aa.tools.gpg;
user = config.aa.user;
in {
options.aa.tools.git = with types; {
@ -52,7 +53,7 @@ in {
signing = {
key = cfg.signingKey;
signByDefault = false; # TODO: Only set if gpg is enabled
signByDefault = mkIf gpg.enable true;
};
ignores = [