Update Firefox

This commit is contained in:
albert 2024-07-27 20:06:50 +09:00
parent 9235bbd39c
commit 7203b9a2e5
Signed by: albert
GPG key ID: 3895DD267CA11BA9
3 changed files with 24 additions and 6 deletions

View file

@ -31,10 +31,20 @@
rycee.firefox-addons.sponsorblock rycee.firefox-addons.sponsorblock
]; ];
search.default = "DuckDuckGo"; search.default = "Ecosia";
search.force = true; search.force = true;
search.order = [ "DuckDuckGo" ]; search.order = [ "Ecosia" ];
search.engines = { search.engines = {
"Ecosia" = {
urls = [{
template = "https://www.ecosia.org/search";
params = [
{ name = "method"; value = "index"; }
{ name = "q"; value = "{searchTerms}"; }
];
}];
definedAliases = [ "@ec" ];
};
"Nix Packages" = { "Nix Packages" = {
urls = [{ urls = [{
template = "https://search.nixos.org/packages"; template = "https://search.nixos.org/packages";

View file

@ -177,7 +177,7 @@ user_pref("browser.xul.error_pages.expert_bad_cert", true);
/*** [SECTION 1600]: REFERERS ***/ /*** [SECTION 1600]: REFERERS ***/
user_pref("_user.js.parrot", "1600 syntax error: the parrot rests in peace!"); user_pref("_user.js.parrot", "1600 syntax error: the parrot rests in peace!");
user_pref("network.http.referer.XOriginTrimmingPolicy", 2); user_pref("network.http.referer.XOriginTrimmingPolicy", 1);
/*** [SECTION 1700]: CONTAINERS ***/ /*** [SECTION 1700]: CONTAINERS ***/
user_pref("_user.js.parrot", "1700 syntax error: the parrot's bit the dust!"); user_pref("_user.js.parrot", "1700 syntax error: the parrot's bit the dust!");
@ -224,7 +224,6 @@ user_pref("browser.contentblocking.category", "strict"); // [HIDDEN PREF]
/*** [SECTION 2800]: SHUTDOWN & SANITIZING ***/ /*** [SECTION 2800]: SHUTDOWN & SANITIZING ***/
user_pref("_user.js.parrot", "2800 syntax error: the parrot's bleedin' demised!"); user_pref("_user.js.parrot", "2800 syntax error: the parrot's bleedin' demised!");
user_pref("privacy.sanitize.sanitizeOnShutdown", true); user_pref("privacy.sanitize.sanitizeOnShutdown", true);
user_pref("privacy.clearOnShutdown.cache", true); // [DEFAULT: true] user_pref("privacy.clearOnShutdown.cache", true); // [DEFAULT: true]
user_pref("privacy.clearOnShutdown_v2.cache", true); // [FF128+] [DEFAULT: true] user_pref("privacy.clearOnShutdown_v2.cache", true); // [FF128+] [DEFAULT: true]
user_pref("privacy.clearOnShutdown.downloads", true); // [DEFAULT: true] user_pref("privacy.clearOnShutdown.downloads", true); // [DEFAULT: true]
@ -300,3 +299,12 @@ user_pref("_user.js.parrot", "9999 syntax error: the parrot's shuffled off 'is m
/* END: internal custom pref to test for syntax errors ***/ /* END: internal custom pref to test for syntax errors ***/
user_pref("_user.js.parrot", "SUCCESS: No no he's not dead, he's, he's restin'!"); user_pref("_user.js.parrot", "SUCCESS: No no he's not dead, he's, he's restin'!");
/*** Custom prefs ***/
user_pref("privacy.resistFingerprinting.letterboxing", false); // [HIDDEN PREF]
user_pref("webgl.disabled", false);
user_pref("browser.startup.page", 3); // 0102
user_pref("privacy.clearOnShutdown.history", false); // 2811 FF127 or lower
user_pref("privacy.clearOnShutdown_v2.historyFormDataAndDownloads", false); // 2811 FF128+
user_pref("privacy.clearOnShutdown_v2.cookiesAndStorage", false); // Cookies, Site Data, Active Logins [FF128+]
user_pref("privacy.clearOnShutdown.cookies", false); // Cookies
user_pref("privacy.resistFingerprinting", false); // [FF41+]

View file

@ -1,9 +1,9 @@
{ inputs, config, lib, pkgs, system, ... }: { { inputs, config, lib, pkgs, system, ... }: {
imports = [ imports = [
./disks.nix ./disks.nix
# ../../common/modules/secureboot.nix ../../common/modules/secureboot.nix
# ../../common/modules/yubikey-auth.nix # ../../common/modules/yubikey-auth.nix
../../common/modules/boot.nix # ../../common/modules/boot.nix
# ../../common/modules/ssh-luks.nix # ../../common/modules/ssh-luks.nix
../../common/services/openrazer.nix ../../common/services/openrazer.nix
../../common/services/podman.nix ../../common/services/podman.nix