firefox: enable gnome browser-connector native messaging host if alyraffauf.desktop.gnome.enable

This commit is contained in:
Aly Raffauf 2024-06-24 22:30:09 -04:00
parent 2dc96a42af
commit 5a727fcfaf

View file

@ -7,7 +7,9 @@
config = lib.mkIf config.alyraffauf.apps.firefox.enable {
programs.firefox = {
enable = true;
nativeMessagingHosts = lib.optionals (config.alyraffauf.apps.keepassxc.enable) [pkgs.keepassxc];
nativeMessagingHosts =
lib.optionals (config.alyraffauf.apps.keepassxc.enable) [pkgs.keepassxc]
++ lib.optionals (config.alyraffauf.desktop.gnome.enable) [pkgs.gnome-browser-connector];
};
};
}