Compare commits
2 Commits
299185970d
...
e2658412ab
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e2658412ab
|
||
|
|
a86e8c3a18
|
@@ -14,7 +14,7 @@ let
|
|||||||
cleanup_temporary_files = (
|
cleanup_temporary_files = (
|
||||||
patchScriptBin "cleanup_temporary_files" (builtins.readFile ./files/cleanup_temporary_files.bash)
|
patchScriptBin "cleanup_temporary_files" (builtins.readFile ./files/cleanup_temporary_files.bash)
|
||||||
);
|
);
|
||||||
alias_rga = pkgs.writeShellScriptBin "ks" ''
|
alias_rga = pkgs.writeShellScriptBin "rga" ''
|
||||||
exec ${pkgs.ripgrep}/bin/rg -uuu "''${@}"
|
exec ${pkgs.ripgrep}/bin/rg -uuu "''${@}"
|
||||||
'';
|
'';
|
||||||
in
|
in
|
||||||
|
|||||||
@@ -66,8 +66,18 @@
|
|||||||
"privacy.fingerprintingProtection" = true;
|
"privacy.fingerprintingProtection" = true;
|
||||||
# Allow sending dark mode preference to websites.
|
# Allow sending dark mode preference to websites.
|
||||||
# Allow sending timezone to websites.
|
# Allow sending timezone to websites.
|
||||||
"privacy.fingerprintingProtection.overrides" =
|
"privacy.fingerprintingProtection.overrides" = (
|
||||||
"+AllTargets,-CSSPrefersColorScheme,-JSDateTimeUTC,-CanvasExtractionBeforeUserInputIsBlocked,-CanvasImageExtractionPrompt,-CanvasExtractionFromThirdPartiesIsBlocked";
|
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
|
# Disable weather on new tab page
|
||||||
"browser.newtabpage.activity-stream.showWeather" = false;
|
"browser.newtabpage.activity-stream.showWeather" = false;
|
||||||
# Disable AI stuff that wastes battery life
|
# Disable AI stuff that wastes battery life
|
||||||
|
|||||||
Reference in New Issue
Block a user