Rearranging

This commit is contained in:
albert 2023-07-02 22:30:30 +09:00
parent a1e8feacab
commit 58c013b8bd

View file

@ -1,41 +1,45 @@
{ config, pkgs, ... }: {
pkgs.firefox.override (args: args // {
extraPrefs = ''
lockPref("extension.pocket.enabled", false);
lockPref("toolkit.telemetry.pioneer-new-studies-availble", false);
lockPref("datareporting.healthreport.uploadEnabled", false);
lockPref("datareporting.healthreport.infoURL", null);
lockPref("toolkit.telemetry.server", null);
lockPref("browser.newtabpage.activity-stream.feeds.telemetry", false);
lockPref("browser.newtabpage.activity-stream.telemetry", false);
lockPref("browser.ping-centre.telemetry", false);
lockPref("toolkit.telemetry.enabled", false);
lockPref("toolkit.telemetry.firstShutdownPing.enabled", false);
lockPref("toolkit.telemetry.hybridContent.enabled", false);
lockPref("toolkit.telemetry.newProfilePing.enabled", false);
lockPref("toolkit.telemetry.shutdownPingSender.enabled", false);
lockPref("toolkit.telemetry.updatePing.enabled", false);
lockPref("toolkit.telemetry.reportingpolicy.firstRun", false);
lockPref("toolkit.telemetry.unified", false);
lockPref("toolkit.telemetry.archive.enabled", false);
lockPref("devtools.onboarding.telemetry.logged", false);
lockPref("toolkit.telemetry.bhrPing.enabled", false);
lockPref("datareporting.policy.dataSubmissionEnabled", false);
lockPref("datareporting.sessions.current.clean", true);
lockPref("browser.startup.homepage", https://dir.sysctl.io);
lockPref("browser.search.region", US);
lockPref("browser.search.isUS", false;
lockPref("distribution.searchplugins.defaultLocale", en-US);
lockPref("general.useragent.locale", en-US);
lockPref("browser.bookmarks.showMobileBookmarks", false);
lockPref("browser.newtabpage.enabled", false);
lockPref("services.sync.prefs.sync.browser.newtabpage.enabled", false);
''
};
programs.firefox = {
enable = true;
profiles.default = {
isDefault = true;
name = "default";
settings = {
"extension.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";
};
# https://nur.nix-community.org/repos/rycee/
extensions = with pkgs.nur.repos.rycee.firefox-addons; [