feat: gpgme

Signed-off-by: jolheiser <john.olheiser@gmail.com>
teamcity
jolheiser 2024-01-30 20:46:24 -06:00
parent 9c2f6a3ea1
commit ad12bd4623
Signed by: jolheiser
GPG Key ID: B853ADA5DA7BBF7A
2 changed files with 12 additions and 0 deletions

View File

@ -41,6 +41,7 @@
extensions = with pkgs.nur.repos.rycee.firefox-addons; [
bitwarden
clearurls
mailvelope
multi-account-containers
refined-github
ublock-origin

View File

@ -2,6 +2,16 @@
key = "0xB853ADA5DA7BBF7A";
in {
home.packages = with pkgs; [pinentry];
home.file.".mozilla/native-messaging-hosts/gpgmejson.json" = {
enable = true;
text = builtins.toJSON {
name = "gpgmejson";
description = "JavaScript binding for GnuPG";
path = pkgs.gpgme.dev + /bin/gpgme-json;
type = "stdio";
allowed_extensions = ["jid1-AQqSMBYb0a8ADg@jetpack"];
};
};
programs.gpg = {
enable = true;
settings = {
@ -15,6 +25,7 @@ in {
verify-options = "show-uid-validity";
with-fingerprint = true;
with-key-origin = true;
keyserver = "hkps://keys.openpgp.org";
};
};
services.gpg-agent = {