{ lib, pkgs, ... }: { home-manager.users.djai.programs.firefox = { enable = true; policies.DisableTelemetry = true; profiles = { default = { imports = [ ./extensions ]; userChrome = builtins.readFile ./userChrome.css; settings = { browser = { resistFingerPrinting = true; ipProtection.hasSeenFeature = true; newtab.extensionController = true; bookmarks.visibility = "never"; translations.popup = false; }; privacy = { bounceTrackingProtection.mode = 1; donottrackheader.enabled = true; baselineFingerprintingProtection = true; fingerprintingProtection.overrides = "+AllTargets,-JSDateTimeUTC"; trackingprotection.enabled = true; }; }; bookmarks.settings = [ { name = "Buienalarm Groningen"; url = "https://www.buienalarm.nl/nederland/groningen/10226"; } { name = "piracy"; toolbar = false; bookmarks = [ ]; # TODO: update these } ]; # TODO: test works extensions.settings."uBlock0@raymondhill.net".settings.hostnameSwitchesString = ""; # override so we don't disable javascript }; }; }; }