mirror of
https://github.com/nix-community/home-manager
synced 2024-11-23 05:03:09 +00:00
firefox: add enableGnomeExtensions option (#1552)
This commit is contained in:
parent
e7d5531cfa
commit
c5e47e25a6
1 changed files with 11 additions and 0 deletions
|
@ -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