nixos/homeConfig/modules/browsers/config/bryan.nix
2023-06-07 10:13:08 -04:00

41 lines
1.2 KiB
Nix

{ pkgs, ... }:
{
isDefault = true;
search.default = "Startpage";
settings = {
"extensions.activeThemeID" = "firefox-compact-dark@mozilla.org";
"dom.security.https_only_mode" = true;
"media.peerconnection.enabled" = false;
"browser.formfill.enable" = false;
"toolkit.telemetry.enabled" = false;
"toolkit.telemetry.archive.enabled" = false;
"datareporting.healthreport.uploadEnabled" = false;
"browser.ping-centre.telemetry" = false;
"privacy.resistFingerprinting" = true;
"privacy.trackingprotection.fingerprinting.enabled" = true;
"privacy.trackingprotection.cryptomining.enabled" = true;
"geo.enabled" = false;
"privacy.trackingprotection.enabled" = true;
userChrome = ''
#toolbar-menubar {
visibility: collapse !important;
margin-top: -22px !important;
}
:root[tabsintitlebar] #toolbar-menubar[autohide="true"] ~ #TabsToolbar .titlebar-placeholder[type="menubar"],
:root:not([tabsintitlebar]) #toolbar-menubar[autohide="true"] ~ #TabsToolbar {
display: none;
}
#toolbar-menubar[autohide="true"] ~ #TabsToolbar {
padding-top: 0 !important;
}
'';
};
}