2023-11-26 13:05:09 +05:30
|
|
|
{ pkgs, osConfig, ... }: {
|
2023-03-15 22:11:59 +05:30
|
|
|
programs = {
|
|
|
|
firefox = {
|
|
|
|
enable = true;
|
2023-03-25 22:10:09 +05:30
|
|
|
package = pkgs.firefox.override {
|
|
|
|
extraPolicies = {
|
2023-11-26 13:05:09 +05:30
|
|
|
DisableAppUpdate = true;
|
|
|
|
DisableFirefoxAccounts = true;
|
|
|
|
DisableFirefoxStudies = true;
|
|
|
|
DisableFormHistory = true;
|
2023-03-25 22:10:09 +05:30
|
|
|
DisablePocket = true;
|
|
|
|
DisableTelemetry = true;
|
2023-11-26 13:05:09 +05:30
|
|
|
DisplayBookmarksToolbar = "newtab";
|
|
|
|
DontCheckDefaultBrowser = true;
|
2023-03-25 22:10:09 +05:30
|
|
|
EnableTrackingProtection = {
|
|
|
|
Value = true;
|
|
|
|
Locked = true;
|
|
|
|
Cryptomining = true;
|
2023-11-26 13:05:09 +05:30
|
|
|
EmailTracking = true;
|
|
|
|
Fingerprinting = true;
|
|
|
|
};
|
|
|
|
ExtensionSettings = {
|
|
|
|
"{b743f56d-1cc1-4048-8ba6-f9c2ab7aa54d}" = {
|
|
|
|
installation_mode = "force_installed";
|
|
|
|
install_url = "https://addons.mozilla.org/firefox/downloads/latest/dracula-dark-colorscheme/latest.xpi";
|
2023-11-26 13:08:12 +05:30
|
|
|
};
|
2023-11-26 13:05:09 +05:30
|
|
|
"{d634138d-c276-4fc8-924b-40a0ea21d284}" = {
|
|
|
|
installation_mode = "force_installed";
|
|
|
|
install_url = "https://addons.mozilla.org/firefox/downloads/latest/1password-x-password-manager/latest.xpi";
|
|
|
|
};
|
2023-11-26 15:35:35 +05:30
|
|
|
"uBlock0@raymondhill.net" = {
|
2023-11-26 13:05:09 +05:30
|
|
|
installation_mode = "force_installed";
|
2023-11-26 15:35:35 +05:30
|
|
|
install_url = "https://addons.mozilla.org/firefox/downloads/latest/ublock-origin/latest.xpi";
|
2023-11-26 13:05:09 +05:30
|
|
|
};
|
2023-11-26 16:18:00 +05:30
|
|
|
|
|
|
|
"google@search.mozilla.org" = {
|
|
|
|
installation_mode = "blocked";
|
|
|
|
};
|
|
|
|
"bing@search.mozilla.org" = {
|
|
|
|
installation_mode = "blocked";
|
|
|
|
};
|
2023-03-25 22:10:09 +05:30
|
|
|
};
|
|
|
|
FirefoxHome = {
|
|
|
|
Search = true;
|
|
|
|
TopSites = false;
|
|
|
|
SponsoredTopSites = false;
|
|
|
|
Highlights = false;
|
|
|
|
Pocket = false;
|
|
|
|
SponsoredPocket = false;
|
|
|
|
Snippets = false;
|
|
|
|
Locked = true;
|
|
|
|
};
|
2023-11-26 13:05:09 +05:30
|
|
|
FirefoxSuggest = {
|
|
|
|
WebSuggestions = false;
|
|
|
|
SponsoredSuggestions = false;
|
|
|
|
ImproveSuggest = false;
|
|
|
|
Locked = true;
|
|
|
|
};
|
2023-11-26 15:29:22 +05:30
|
|
|
Homepage = {
|
2023-11-26 13:05:09 +05:30
|
|
|
StartPage = "previous-session";
|
|
|
|
Locked = true;
|
|
|
|
};
|
|
|
|
NetworkPrediction = false;
|
|
|
|
NoDefaultBookmarks = true;
|
|
|
|
OfferToSaveLogins = false;
|
|
|
|
OverrideFirstRunPage = "";
|
|
|
|
OverridePostUpdatePage = "";
|
|
|
|
PasswordManagerEnabled = false;
|
2023-11-26 16:18:26 +05:30
|
|
|
PrimaryPassword = false;
|
2023-11-26 13:05:09 +05:30
|
|
|
SearchSuggestEnabled = false;
|
2023-03-25 22:10:09 +05:30
|
|
|
UserMessaging = {
|
|
|
|
WhatsNew = false;
|
|
|
|
ExtensionRecommendations = false;
|
|
|
|
FeatureRecommendations = false;
|
|
|
|
UrlbarInterventions = false;
|
|
|
|
SkipOnboarding = true;
|
|
|
|
MoreFromMozilla = false;
|
2023-11-26 13:05:09 +05:30
|
|
|
Locked = true;
|
2023-03-25 22:10:09 +05:30
|
|
|
};
|
|
|
|
Preferences = {
|
2023-11-26 16:18:18 +05:30
|
|
|
"accessibility.force_disabled" = { Value = 1; Status = "locked"; };
|
2023-11-26 15:29:22 +05:30
|
|
|
"browser.crashReports.unsubmittedCheck.autoSubmit2" = { Value = false; Status = "locked"; };
|
|
|
|
"browser.aboutConfig.showWarning" = { Value = false; Status = "locked"; };
|
|
|
|
"browser.aboutHomeSnippets.updateUrl" = { Value = ""; 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"; };
|
2023-11-26 16:51:03 +05:30
|
|
|
"browser.tabs.firefox-view-next" = { Value = false; Status = "locked"; };
|
2023-11-26 15:29:22 +05:30
|
|
|
"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"; };
|
|
|
|
"network.IDN_show_punycode" = { Value = true; Status = "locked"; };
|
|
|
|
"network.trr.mode" = { Value = 5; Status = "locked"; };
|
|
|
|
"signon.management.page.breach-alerts.enabled" = { Value = false; Status = "locked"; };
|
2023-03-15 22:11:59 +05:30
|
|
|
};
|
2023-03-25 22:10:09 +05:30
|
|
|
};
|
|
|
|
};
|
2023-03-15 22:11:59 +05:30
|
|
|
profiles.default = {
|
|
|
|
id = 0;
|
|
|
|
name = "Default";
|
|
|
|
isDefault = true;
|
|
|
|
settings = {
|
|
|
|
"app.shield.optoutstudies.enabled" = false;
|
|
|
|
"privacy.donottrackheader.enabled" = true;
|
|
|
|
"privacy.firstparty.isolate" = true;
|
2023-11-26 15:29:22 +05:30
|
|
|
"privacy.globalprivacycontrol.enabled" = true;
|
|
|
|
"startup.homepage_override_url" = "";
|
2023-03-15 22:11:59 +05:30
|
|
|
"startup.homepage_welcome_url" = "";
|
|
|
|
"startup.homepage_welcome_url.additional" = "";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|