remove gpgme from firefox

This commit is contained in:
Ivan Kirilov Dimitrov 2024-08-03 11:59:41 +02:00
parent 69b444e3e7
commit 76f954a335
No known key found for this signature in database
GPG Key ID: 0BDAD4B211C49294

View File

@ -452,7 +452,7 @@ toplevel@{ moduleWithSystem, ... }: {
);
web = moduleWithSystem (
top@{ ... }:
perSystem@{ pkgs, ... }: {
perSystem@{ ... }: {
programs = {
browserpass.enable = true;
firefox = {
@ -493,15 +493,6 @@ toplevel@{ moduleWithSystem, ... }: {
};
};
};
home = {
file.".mozilla/native-messaging-hosts/gpgmejson.json".text = builtins.toJSON {
name = "gpgmejson";
description = "Integration with GnuPG";
path = "${pkgs.gpgme.dev}/bin/gpgme-json";
type = "stdio";
allowed_extensions = [ "jid1-AQqSMBYb0a8ADg@jetpack" ];
};
};
xdg.mimeApps.defaultApplications = {
"text/html" = "firefox.desktop";
"x-scheme-handler/http" = "firefox.desktop";