nix/nixos/common/software/gui/firefox.nix

47 lines
1.9 KiB
Nix
Raw Normal View History

2024-08-14 15:44:36 +02:00
{ ... }: {
2023-07-02 15:46:14 +02:00
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 = {
2023-09-30 14:44:49 +02:00
# Browser Settings
2023-07-03 00:47:30 +02:00
"extensions.pocket.enabled" = false;
"browser.newtabpage.activity-stream.feeds.telemetry" = false;
"browser.newtabpage.activity-stream.telemetry" = false;
"browser.ping-centre.telemetry" = false;
2023-09-30 14:44:49 +02:00
"browser.startup.homepage" = "https://dir.sysctl.io";
"browser.search.region" = "US";
"browser.search.isUS" = true;
"browser.bookmarks.showMobileBookmarks" = false;
"browser.newtabpage.enabled" = false;
"browser.tabs.firefox-view" = false;
# Telemetry
"toolkit.telemetry.server" = "null";
2023-07-03 00:47:30 +02:00
"toolkit.telemetry.enabled" = false;
2023-09-30 14:44:49 +02:00
"toolkit.telemetry.bhrPing.enabled" = false;
"toolkit.telemetry.pioneer-new-studies-availble" = false;
2023-07-03 00:47:30 +02:00
"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;
2023-09-30 14:44:49 +02:00
# Data Reporting
2023-07-03 00:47:30 +02:00
"datareporting.policy.dataSubmissionEnabled" = false;
2023-07-02 15:46:14 +02:00
"datareporting.sessions.current.clean" = "true";
2023-09-30 14:44:49 +02:00
"datareporting.healthreport.uploadEnabled" = false;
"datareporting.healthreport.infoURL" = "null";
# Other
"devtools.onboarding.telemetry.logged" = false;
2023-07-03 00:47:30 +02:00
"services.sync.prefs.sync.browser.newtabpage.enabled" = false;
2023-09-30 14:44:49 +02:00
"general.useragent.locale" = "en-US";
"distribution.searchplugins.defaultLocale" = "en-US";
2023-07-02 15:46:14 +02:00
};
};
2024-08-14 15:44:36 +02:00
}