nix/software/firefox.nix
2023-07-03 07:47:30 +09:00

38 lines
1.8 KiB
Nix

{ config, pkgs, ... }: {
programs.firefox = {
enable = true;
# https://search.nixos.org/options?channel=23.05&show=programs.firefox.preferences&from=0&size=50&sort=relevance&type=packages&query=firefox
preferences = {
"extensions.pocket.enabled" = false;
"toolkit.telemetry.pioneer-new-studies-availble" = false;
"datareporting.healthreport.uploadEnabled" = false;
"datareporting.healthreport.infoURL" = "null";
"toolkit.telemetry.server" = "null";
"browser.newtabpage.activity-stream.feeds.telemetry" = false;
"browser.newtabpage.activity-stream.telemetry" = false;
"browser.ping-centre.telemetry" = false;
"toolkit.telemetry.enabled" = false;
"toolkit.telemetry.firstShutdownPing.enabled" = false;
"toolkit.telemetry.hybridContent.enabled" = false;
"toolkit.telemetry.newProfilePing.enabled" = false;
"toolkit.telemetry.shutdownPingSender.enabled" = false;
"toolkit.telemetry.updatePing.enabled" = false;
"toolkit.telemetry.reportingpolicy.firstRun" = false;
"toolkit.telemetry.unified" = false;
"toolkit.telemetry.archive.enabled" = false;
"devtools.onboarding.telemetry.logged" = false;
"toolkit.telemetry.bhrPing.enabled" = false;
"datareporting.policy.dataSubmissionEnabled" = false;
"datareporting.sessions.current.clean" = "true";
"browser.startup.homepage" = "https://dir.sysctl.io";
"browser.search.region" = "US";
"browser.search.isUS" = false;
"distribution.searchplugins.defaultLocale" = "en-US";
"general.useragent.locale" = "en-US";
"browser.bookmarks.showMobileBookmarks" = false;
"browser.newtabpage.enabled" = false;
"services.sync.prefs.sync.browser.newtabpage.enabled" = false;
"browser.tabs.firefox-view" = false;
};
};
}