From 421b2e2a32b15180dafd3c6f51ead3c1df230a6e Mon Sep 17 00:00:00 2001 From: iFargle Date: Sun, 2 Jul 2023 09:17:53 +0900 Subject: [PATCH] test --- common/dotfiles/firefox.nix | 67 +++++++++++++++++++++++++++++++++++++ 1 file changed, 67 insertions(+) diff --git a/common/dotfiles/firefox.nix b/common/dotfiles/firefox.nix index 6df1136d..dae5f3c2 100644 --- a/common/dotfiles/firefox.nix +++ b/common/dotfiles/firefox.nix @@ -1,6 +1,41 @@ { config, pkgs, ... }: { programs.firefox = { enable = true; + + package.override { + cfg = { + "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://searx.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"; + }; + } + profiles.default = { isDefault = true; name = "default"; @@ -35,6 +70,38 @@ "browser.newtabpage.enabled" = "false"; "services.sync.prefs.sync.browser.newtabpage.enabled" = "false"; }; + + extraConfig = { + "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://searx.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"; + }; search.default = "DuckDuckGo"; search.force = true; search.order = [