added some firefox preferences

This commit is contained in:
KoenDR06 2025-11-01 17:39:40 +01:00
parent f786b62f8a
commit 38a6eaf5f6

View file

@ -27,8 +27,33 @@ in {
DisableAccounts = true; DisableAccounts = true;
DisableFirefoxScreenshots = true; DisableFirefoxScreenshots = true;
DisplayBookmarksToolbar = "never"; DisplayBookmarksToolbar = "never";
DontCheckDefaultBrowser = true;
GenerativeAI = false;
PasswordManagerEnabled = false; PasswordManagerEnabled = false;
SearchEngines = {
Default = "DuckDuckGo";
Add = [
{
Name = "DuckDuckGo";
URLTemplate = "https://duckduckgo.com/?q={searchTerms}";
Alias = "@ddg";
}
{
Name = "NixOS Packages";
URLTemplate = "https://search.nixos.org/packages?query={searchTerms}";
Alias = "@pack";
IconURL = "https://search.nixos.org/favicon-96x96.png";
}
{
Name = "NixOS Options";
URLTemplate = "https://search.nixos.org/options?query={searchTerms}";
Alias = "@opt";
IconURL = "https://search.nixos.org/favicon-96x96.png";
}
];
};
ExtensionSettings = { ExtensionSettings = {
"*".installation_mode = "blocked"; "*".installation_mode = "blocked";
# uBlock Origin: # uBlock Origin:
@ -63,6 +88,38 @@ in {
}; };
}; };
Cookies = {
Behaviour = "reject-foreign"; # No third party cookies
BehaviourPrivateBrowsing = "reject";
Block = [
"https://google.com"
"https://maps.google.com"
"https://youtube.com"
"https://duckduckgo.com"
];
};
WebsiteFilter.Block = ["https://chatgpt.com"];
FirefoxHome = {
"SponsoredTopSites" = false;
"SponsoredPocket" = false;
"SponsoredStories" = false;
};
FirefoxSuggest = {
SponsoredSuggestions = false;
ImproveSuggest = false;
};
EnableTrackingProtection = {
Locked = true;
Cryptomining = true;
Fingerprinting = true;
EmailTracking = true;
};
Preferences = { Preferences = {
general = { general = {
autoScroll = true; autoScroll = true;