Update firefox config

This commit is contained in:
Johannes Jöns 2023-03-31 14:42:00 +02:00
parent 670eb4f18b
commit 3e4dff5077

View file

@ -76,33 +76,46 @@ in
extraPolicies = { extraPolicies = {
AppAutoUpdate = false; AppAutoUpdate = false;
BackgroundAppUpdate = false; BackgroundAppUpdate = false;
DisableAppUpdate = true;
CaptivePortal = false; CaptivePortal = false;
DisableFirefoxStudies = true;
DisablePocket = true;
DisableTelemetry = true;
DisableFirefoxAccounts = true;
DisableFormHistory = true;
DefaultDownloadDirectory = "${hcfg.xdg.userDirs.download}"; DefaultDownloadDirectory = "${hcfg.xdg.userDirs.download}";
DisableAppUpdate = true;
DisableFirefoxAccounts = true;
DisableFirefoxStudies = true;
DisableForgetButton = true;
DisableFormHistory = true;
DisableMasterPasswordCreation = true;
DisablePasswordReveal = true;
DisablePocket = true;
DisableSetDesktopBackground = true;
DisableSystemAddonUpdate = true;
DisableTelemetry = true;
DontCheckDefaultBrowser = true; DontCheckDefaultBrowser = true;
ExtensionUpdate = false; ExtensionUpdate = false;
HardwareAcceleration = true;
ManualAppUpdateOnly = true;
NoDefaultBookmarks = true; NoDefaultBookmarks = true;
PasswordManagerEnabled = false;
OfferToSaveLogins = false; OfferToSaveLogins = false;
OfferToSaveLoginsDefault = false; OfferToSaveLoginsDefault = false;
PasswordManagerEnabled = false;
PrimaryPassword = false;
SearchBar = "unified";
StartDownloadsInTempDirectory = true;
EnableTrackingProtection = { EnableTrackingProtection = {
Value = true; Value = true;
EmailTracking = true;
Cryptomining = true; Cryptomining = true;
Fingerprinting = true; Fingerprinting = true;
Locked = true;
}; };
FirefoxHome = { FirefoxHome = {
Search = true;
Pocket = false;
SponsoredPocket = false;
Snippets = false;
TopSites = true;
SponsoredTopSites = false;
Highlights = false; Highlights = false;
Pocket = false;
Search = true;
Snippets = false;
SponsoredPocket = false;
SponsoredTopSites = false;
TopSites = true;
Locked = true;
}; };
UserMessaging = { UserMessaging = {
ExtensionRecommendations = false; ExtensionRecommendations = false;
@ -159,7 +172,12 @@ in
definedAliases = [ "@np" ]; definedAliases = [ "@np" ];
}; };
"NixOS Wiki" = { "NixOS Wiki" = {
urls = [{ template = "https://nixos.wiki/index.php?search={searchTerms}"; }]; urls = [{
template = "https://nixos.wiki/index.php";
params = [
{ name = "search"; value = "{searchTerms}"; }
];
}];
icon = "${hcfg.programs.firefox.profiles.default.search.engines."Nix Packages".icon}"; icon = "${hcfg.programs.firefox.profiles.default.search.engines."Nix Packages".icon}";
definedAliases = [ "@nw" ]; definedAliases = [ "@nw" ];
}; };