From 906ebc9e8924ad5ed3ef2bdce29753cbd20e04c4 Mon Sep 17 00:00:00 2001 From: Dmitriy Kholkin Date: Wed, 7 Dec 2022 22:18:00 +0300 Subject: [PATCH] add gnupg integration with mailvelope --- profiles/applications/firefox.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/profiles/applications/firefox.nix b/profiles/applications/firefox.nix index 33eda5b..cdc4206 100755 --- a/profiles/applications/firefox.nix +++ b/profiles/applications/firefox.nix @@ -30,6 +30,16 @@ in { home-manager.users.alukard = { home.packages = [ firefox-kpoxa ]; + # Mailvelope GnuPG integration + home.file.".mozilla/native-messaging-hosts/gpgmejson.json".text = '' + { + "name": "gpgmejson", + "description": "JavaScript binding for GnuPG", + "path": "${pkgs.gpgme.dev}/bin/gpgme-json", + "type": "stdio", + "allowed_extensions": ["jid1-AQqSMBYb0a8ADg@jetpack"] + } + ''; # programs.browserpass = { # enable = true; # browsers = [ "firefox" ];