19 maintainers = teams.gnome.members;
23 services.gnome.gnome-browser-connector.enable = mkEnableOption ''
24 native host connector for the GNOME Shell browser extension, a DBus service
25 allowing to install GNOME Shell extensions from a web browser
29 config = mkIf config.services.gnome.gnome-browser-connector.enable {
31 "chromium/native-messaging-hosts/org.gnome.browser_connector.json".source =
32 "${pkgs.gnome-browser-connector}/etc/chromium/native-messaging-hosts/org.gnome.browser_connector.json";
33 "opt/chrome/native-messaging-hosts/org.gnome.browser_connector.json".source =
34 "${pkgs.gnome-browser-connector}/etc/opt/chrome/native-messaging-hosts/org.gnome.browser_connector.json";
36 "chromium/native-messaging-hosts/org.gnome.chrome_gnome_shell.json".source =
37 "${pkgs.gnome-browser-connector}/etc/chromium/native-messaging-hosts/org.gnome.chrome_gnome_shell.json";
38 "opt/chrome/native-messaging-hosts/org.gnome.chrome_gnome_shell.json".source =
39 "${pkgs.gnome-browser-connector}/etc/opt/chrome/native-messaging-hosts/org.gnome.chrome_gnome_shell.json";
42 environment.systemPackages = [ pkgs.gnome-browser-connector ];
44 services.dbus.packages = [ pkgs.gnome-browser-connector ];
46 programs.firefox.nativeMessagingHosts.packages = [ pkgs.gnome-browser-connector ];