Trying automatically adding gpg key

This commit is contained in:
Julien Malka 2021-12-23 00:31:39 +01:00
parent cdcf91798b
commit eb517d5692
No known key found for this signature in database
GPG key ID: 3C68E13964FEA07F
2 changed files with 11 additions and 1 deletions

View file

@ -18,5 +18,13 @@ with lib;
key = "3C68E13964FEA07F";
};
};
home.extraActivationPath = [ pkgs.gnupg ];
home.activation =
{
myActivationAction = lib.hm.dag.entryAfter ["writeBoundary"] ''
gpg --import /run/secrets/git-gpg-private-key
'';
};
};
}

View file

@ -16,7 +16,9 @@ with lib;
};
sops.secrets.sendinblue-mail-passwd = {};
sops.secrets.git-gpg-private-key = {};
sops.secrets.git-gpg-private-key = {
owner = "julien";
};
};