firefox default search engine

This commit is contained in:
Sam 2024-05-28 15:42:25 +01:00
parent b82a9df299
commit 6ec05f1d16
1 changed files with 53 additions and 47 deletions

View File

@ -14,53 +14,57 @@ in
Cryptomining = true; Cryptomining = true;
Fingerprinting = true; Fingerprinting = true;
}; };
DisablePocket = true; DisablePocket = true;
DisableFirefoxAccounts = true; DisableFirefoxAccounts = true;
DisableAccounts = true; DisableAccounts = true;
DisableFirefoxScreenshots = true; DisableFirefoxScreenshots = true;
OverrideFirstRunPage = ""; OverrideFirstRunPage = "";
OverridePostUpdatePage = ""; OverridePostUpdatePage = "";
DontCheckDefaultBrowser = true; DontCheckDefaultBrowser = true;
DisplayBookmarksToolbar = "never"; # alternatives: "always" or "newtab" DisplayBookmarksToolbar = "never"; # alternatives: "always" or "newtab"
DisplayMenuBar = "default-off"; # alternatives: "always", "never" or "default-on" DisplayMenuBar = "default-off"; # alternatives: "always", "never" or "default-on"
SearchBar = "unified"; # alternative: "separate" SearchBar = "unified"; # alternative: "separate"
/* ---- EXTENSIONS ---- */ SearchEngines = {
# Check about:support for extension/add-on ID strings. Default = "DuckDuckGo";
# Valid strings for installation_mode are "allowed", "blocked", PreventInstalls = true;
# "force_installed" and "normal_installed". };
ExtensionSettings = { /* ---- EXTENSIONS ---- */
"*".installation_mode = "blocked"; # blocks all addons except the ones specified below # Check about:support for extension/add-on ID strings.
# uBlock Origin: # Valid strings for installation_mode are "allowed", "blocked",
"uBlock0@raymondhill.net" = { # "force_installed" and "normal_installed".
install_url = "https://addons.mozilla.org/firefox/downloads/latest/ublock-origin/latest.xpi"; ExtensionSettings = {
installation_mode = "force_installed"; "*".installation_mode = "blocked"; # blocks all addons except the ones specified below
}; # uBlock Origin:
# Privacy Badger: "uBlock0@raymondhill.net" = {
"jid1-MnnxcxisBPnSXQ@jetpack" = { install_url = "https://addons.mozilla.org/firefox/downloads/latest/ublock-origin/latest.xpi";
install_url = "https://addons.mozilla.org/firefox/downloads/latest/privacy-badger17/latest.xpi"; installation_mode = "force_installed";
installation_mode = "force_installed"; };
}; # Privacy Badger:
# Bitwarden "jid1-MnnxcxisBPnSXQ@jetpack" = {
"{446900e4-71c2-419f-a6a7-df9c091e268b}" = { install_url = "https://addons.mozilla.org/firefox/downloads/latest/privacy-badger17/latest.xpi";
install_url = "https://addons.mozilla.org/firefox/downloads/latest/bitwarden-password-manager/latest.xpi"; installation_mode = "force_installed";
installation_mode = "force_installed"; };
}; # Bitwarden
# Dark Reader "{446900e4-71c2-419f-a6a7-df9c091e268b}" = {
"addon@darkreader.org" = { install_url = "https://addons.mozilla.org/firefox/downloads/latest/bitwarden-password-manager/latest.xpi";
install_url = "https://addons.mozilla.org/firefox/downloads/latest/darkreader/latest.xpi"; installation_mode = "force_installed";
installation_mode = "force_installed"; };
}; # Dark Reader
# Sponser Block "addon@darkreader.org" = {
"sponsorBlocker@ajay.app" = { install_url = "https://addons.mozilla.org/firefox/downloads/latest/darkreader/latest.xpi";
install_url = "https://addons.mozilla.org/firefox/downloads/latest/sponsorblock/latest.xpi"; installation_mode = "force_installed";
installation_mode = "force_installed"; };
}; # Sponser Block
# Return Youtube Dislike "sponsorBlocker@ajay.app" = {
"{762f9885-5a13-4abd-9c77-433dcd38b8fd}" = { install_url = "https://addons.mozilla.org/firefox/downloads/latest/sponsorblock/latest.xpi";
install_url = "https://addons.mozilla.org/firefox/downloads/latest/return-youtube-dislikes/latest.xpi"; installation_mode = "force_installed";
installation_mode = "force_installed"; };
}; # Return Youtube Dislike
}; "{762f9885-5a13-4abd-9c77-433dcd38b8fd}" = {
install_url = "https://addons.mozilla.org/firefox/downloads/latest/return-youtube-dislikes/latest.xpi";
installation_mode = "force_installed";
};
};
}; };
profiles.${user} = { profiles.${user} = {
@ -94,6 +98,8 @@ in
"browser.download.panel.shown" = true; "browser.download.panel.shown" = true;
"identity.fxaccounts.enabled" = false; "identity.fxaccounts.enabled" = false;
"signon.rememberSignons" = false; "signon.rememberSignons" = false;
"browser.compactmode.show" = true;
"signon.rememberSignons" = false;
}; };
}; };