configuration.nix/home/programs/firefox/policies.nix

199 lines
5.2 KiB
Nix
Raw Normal View History

2024-06-12 19:25:47 +05:30
{
DisableAppUpdate = true;
DisableFirefoxAccounts = true;
DisableFirefoxStudies = true;
DisableFormHistory = true;
DisablePocket = true;
DisableTelemetry = true;
DisplayBookmarksToolbar = "newtab";
DontCheckDefaultBrowser = true;
EnableTrackingProtection = {
Value = true;
Locked = true;
Cryptomining = true;
EmailTracking = true;
Fingerprinting = true;
};
ExtensionSettings = {
2024-06-22 23:48:31 +05:30
"*" = {
installation_mode = "blocked";
blocked_install_message = "Add it to firefox/policies.nix to install it.";
};
"queryamoid@kaply.com" = {
installation_mode = "force_installed";
install_url = "https://github.com/mkaply/queryamoid/releases/download/v0.2/query_amo_addon_id-0.2-fx.xpi";
default_area = "menupanel";
};
2024-06-12 19:25:47 +05:30
"{b743f56d-1cc1-4048-8ba6-f9c2ab7aa54d}" = {
installation_mode = "force_installed";
install_url = "https://addons.mozilla.org/firefox/downloads/latest/dracula-dark-colorscheme/latest.xpi";
};
"{d634138d-c276-4fc8-924b-40a0ea21d284}" = {
installation_mode = "force_installed";
install_url = "https://addons.mozilla.org/firefox/downloads/latest/1password-x-password-manager/latest.xpi";
2024-06-22 23:48:31 +05:30
default_area = "navbar";
2024-06-12 19:25:47 +05:30
};
"uBlock0@raymondhill.net" = {
installation_mode = "force_installed";
install_url = "https://addons.mozilla.org/firefox/downloads/latest/ublock-origin/latest.xpi";
2024-06-22 23:48:31 +05:30
default_area = "menupanel";
2024-06-12 19:25:47 +05:30
};
"addon@darkreader.org" = {
installation_mode = "force_installed";
install_url = "https://addons.mozilla.org/firefox/downloads/latest/darkreader/latest.xpi";
2024-06-22 23:48:31 +05:30
default_area = "navbar";
2024-06-12 19:25:47 +05:30
};
};
FirefoxHome = {
Search = true;
TopSites = false;
SponsoredTopSites = false;
Highlights = false;
Pocket = false;
SponsoredPocket = false;
Snippets = false;
Locked = true;
};
FirefoxSuggest = {
WebSuggestions = false;
SponsoredSuggestions = false;
ImproveSuggest = false;
Locked = true;
};
Homepage = {
StartPage = "previous-session";
Locked = true;
};
NetworkPrediction = false;
NoDefaultBookmarks = true;
OfferToSaveLogins = false;
OverrideFirstRunPage = "";
OverridePostUpdatePage = "";
PasswordManagerEnabled = false;
PrimaryPassword = false;
SearchSuggestEnabled = false;
UserMessaging = {
WhatsNew = false;
ExtensionRecommendations = false;
FeatureRecommendations = false;
UrlbarInterventions = false;
SkipOnboarding = true;
MoreFromMozilla = false;
Locked = true;
};
Preferences = {
"accessibility.force_disabled" = {
Value = 1;
Status = "locked";
};
"browser.aboutConfig.showWarning" = {
Value = false;
Status = "locked";
};
"browser.aboutHomeSnippets.updateUrl" = {
Value = "";
Status = "locked";
};
"browser.crashReports.unsubmittedCheck.autoSubmit2" = {
Value = false;
Status = "locked";
};
"browser.selfsupport.url" = {
Value = "";
Status = "locked";
};
"browser.startup.homepage_override.mstone" = {
Value = "ignore";
Status = "locked";
};
"browser.startup.homepage_override.buildID" = {
Value = "";
Status = "locked";
};
"browser.tabs.firefox-view" = {
Value = false;
Status = "locked";
};
"browser.tabs.firefox-view-next" = {
Value = false;
Status = "locked";
};
"browser.urlbar.suggest.history" = {
Value = false;
Status = "locked";
};
"browser.urlbar.suggest.topsites" = {
Value = false;
Status = "locked";
};
"dom.security.https_only_mode" = {
Value = true;
Status = "locked";
};
"extensions.htmlaboutaddons.recommendations.enabled" = {
Value = false;
Status = "locked";
};
"extensions.recommendations.themeRecommendationUrl" = {
Value = "";
Status = "locked";
};
"gfx.canvas.accelerated.cache-items" = {
Value = 4096;
Status = "locked";
};
"gfx.canvas.accelerated.cache-size" = {
Value = 512;
Status = "locked";
};
"gfx.content.skia-font-cache-size" = {
Value = 20;
Status = "locked";
};
"network.dns.disablePrefetch" = {
Value = false;
Status = "locked";
};
"network.dns.disablePrefetchFromHTTPS" = {
Value = false;
Status = "locked";
};
"network.http.max-connections" = {
Value = 1800;
Status = "locked";
};
"network.http.max-persistent-connections-per-server" = {
Value = 10;
Status = "locked";
};
"network.http.max-urgent-start-excessive-connections-per-host" = {
Value = 5;
Status = "locked";
};
"network.http.pacing.requests.enabled" = {
Value = false;
Status = "locked";
};
"network.IDN_show_punycode" = {
Value = true;
Status = "locked";
};
"network.predictor.enabled" = {
Value = false;
Status = "locked";
};
"network.prefetch-next" = {
Value = false;
Status = "locked";
};
"network.trr.mode" = {
Value = 5;
Status = "locked";
};
"signon.management.page.breach-alerts.enabled" = {
Value = false;
Status = "locked";
};
};
}