firefox: add enableGnomeExtensions option (#1552)
This commit is contained in:
parent
e7d5531cfa
commit
c5e47e25a6
|
@ -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 <literal>true</literal>.
|
||||
'';
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue