diff --git a/home-manager/common/software/gui/firefox.nix b/home-manager/common/software/gui/firefox.nix index 0a02001d..fab91aa3 100644 --- a/home-manager/common/software/gui/firefox.nix +++ b/home-manager/common/software/gui/firefox.nix @@ -31,10 +31,20 @@ rycee.firefox-addons.sponsorblock ]; - search.default = "DuckDuckGo"; + search.default = "Ecosia"; search.force = true; - search.order = [ "DuckDuckGo" ]; + search.order = [ "Ecosia" ]; search.engines = { + "Ecosia" = { + urls = [{ + template = "https://www.ecosia.org/search"; + params = [ + { name = "method"; value = "index"; } + { name = "q"; value = "{searchTerms}"; } + ]; + }]; + definedAliases = [ "@ec" ]; + }; "Nix Packages" = { urls = [{ template = "https://search.nixos.org/packages"; diff --git a/home-manager/common/software/gui/firefox/arkenfox-user.js b/home-manager/common/software/gui/firefox/arkenfox-user.js index 99c92149..044c7c1a 100644 --- a/home-manager/common/software/gui/firefox/arkenfox-user.js +++ b/home-manager/common/software/gui/firefox/arkenfox-user.js @@ -177,7 +177,7 @@ user_pref("browser.xul.error_pages.expert_bad_cert", true); /*** [SECTION 1600]: REFERERS ***/ 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 ***/ 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 ***/ user_pref("_user.js.parrot", "2800 syntax error: the parrot's bleedin' demised!"); user_pref("privacy.sanitize.sanitizeOnShutdown", true); - user_pref("privacy.clearOnShutdown.cache", true); // [DEFAULT: true] user_pref("privacy.clearOnShutdown_v2.cache", true); // [FF128+] [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 ***/ 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+] diff --git a/nixos/hosts/nixos-desktop/default.nix b/nixos/hosts/nixos-desktop/default.nix index e984f4b0..53549767 100644 --- a/nixos/hosts/nixos-desktop/default.nix +++ b/nixos/hosts/nixos-desktop/default.nix @@ -1,9 +1,9 @@ { inputs, config, lib, pkgs, system, ... }: { imports = [ ./disks.nix - # ../../common/modules/secureboot.nix + ../../common/modules/secureboot.nix # ../../common/modules/yubikey-auth.nix - ../../common/modules/boot.nix + # ../../common/modules/boot.nix # ../../common/modules/ssh-luks.nix ../../common/services/openrazer.nix ../../common/services/podman.nix