firefox: add enableIcedTea option

This commit is contained in:
pasqui23 2017-10-12 01:16:33 +02:00 committed by Robert Helgesson
parent 0f43d5df6a
commit b78b2b6b35
No known key found for this signature in database
GPG key ID: C3DB11069E65DC86

View file

@ -33,6 +33,12 @@ in
default = false; default = false;
description = "Whether to enable the unfree Google Talk plugin."; description = "Whether to enable the unfree Google Talk plugin.";
}; };
enableIcedTea = mkOption {
type = types.bool;
default = false;
description = "Whether to enable the Java applet plugin.";
};
}; };
}; };
@ -46,6 +52,7 @@ in
fcfg = setAttrByPath [browserName] { fcfg = setAttrByPath [browserName] {
enableAdobeFlash = cfg.enableAdobeFlash; enableAdobeFlash = cfg.enableAdobeFlash;
enableGoogleTalkPlugin = cfg.enableGoogleTalk; enableGoogleTalkPlugin = cfg.enableGoogleTalk;
icedtea = cfg.enableIcedTea;
}; };
wrapper = pkgs.wrapFirefox.override { wrapper = pkgs.wrapFirefox.override {