1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2024-12-15 17:50:53 +00:00

firefox: add enableGnomeExtensions option (#1552)

This commit is contained in:
dawidsowa 2020-10-19 15:37:49 +02:00 committed by GitHub
parent e7d5531cfa
commit c5e47e25a6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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.