diff --git a/nix/configuration/roles/firefox/default.nix b/nix/configuration/roles/firefox/default.nix index d64b69c1..a8a207ac 100644 --- a/nix/configuration/roles/firefox/default.nix +++ b/nix/configuration/roles/firefox/default.nix @@ -66,8 +66,18 @@ "privacy.fingerprintingProtection" = true; # Allow sending dark mode preference to websites. # Allow sending timezone to websites. - "privacy.fingerprintingProtection.overrides" = - "+AllTargets,-CSSPrefersColorScheme,-JSDateTimeUTC,-CanvasExtractionBeforeUserInputIsBlocked,-CanvasImageExtractionPrompt,-CanvasExtractionFromThirdPartiesIsBlocked"; + "privacy.fingerprintingProtection.overrides" = ( + builtins.concatStringsSep "," [ + "+AllTargets" # Enable all protections + "-CSSPrefersColorScheme" # Don't hide light/dark preference + "-JSDateTimeUTC" # Allow sending timezone to websites. + "-CanvasExtractionBeforeUserInputIsBlocked" # Canvas image extraction needed by google maps to avoid names looking like barcodes. + # Google meet's auto-framing results in random flashing colored bars unless the following two are allowed: + "-CanvasImageExtractionPrompt" + "-CanvasExtractionFromThirdPartiesIsBlocked" + "-WebGLRenderCapability" # Needed for smooth zooming on google maps + ] + ); # Disable weather on new tab page "browser.newtabpage.activity-stream.showWeather" = false; # Disable AI stuff that wastes battery life