From c5e47e25a6cbb37feb3ff47fe83e5a1db097bf16 Mon Sep 17 00:00:00 2001 From: dawidsowa Date: Mon, 19 Oct 2020 15:37:49 +0200 Subject: [PATCH] firefox: add enableGnomeExtensions option (#1552) --- modules/programs/firefox.nix | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/modules/programs/firefox.nix b/modules/programs/firefox.nix index d5003f59..2b1a4ade 100644 --- a/modules/programs/firefox.nix +++ b/modules/programs/firefox.nix @@ -220,6 +220,16 @@ in default = false; description = "Whether to enable the unfree Adobe Flash plugin."; }; + + enableGnomeExtensions = mkOption { + type = types.bool; + default = false; + description = '' + Whether to enable the GNOME Shell native host connector. + You need set NixOS's `services.gnome3.chrome-gnome-shell.enable` + to true. + ''; + }; }; }; @@ -262,6 +272,7 @@ in # The configuration expected by the Firefox wrapper. fcfg = { enableAdobeFlash = cfg.enableAdobeFlash; + enableGnomeExtensions = cfg.enableGnomeExtensions; }; # A bit of hackery to force a config into the wrapper.