configure firefox

This commit is contained in:
Sean Buckley 2020-12-21 01:00:30 -05:00
parent 99cbae19f1
commit 966e1976c4

View file

@ -1,7 +1,6 @@
{ config, pkgs, ... }: { config, pkgs, ... }:
{ {
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
firefox
brave brave
gimp gimp
mpv mpv
@ -23,6 +22,28 @@
]; ];
}) })
(wrapFirefox firefox-unwrapped {
extraPolicies = {
CaptivePortal = false;
DisablePocket = true;
DisableFirefoxStudies = true;
OfferToSaveLogins = false;
DisableFormHistory = true;
SearchSuggestEnabled = false;
EnableTrackingProtection = {
Value = true;
Locked = true;
Cryptomining = true;
Fingerprinting = true;
};
Preferences = {
"extensions.formautofill.available" = { Status = "locked"; Value = "off"; };
"network.cookie.cookieBehavior" = { Status = "locked"; Value = 4; };
"network.IDN_show_punycode" = { Status = "locked"; Value = true; };
};
};
})
]; ];
services.xserver.deviceSection = '' services.xserver.deviceSection = ''