2023-05-18 16:11:26 +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 = {
|
|
|
|
DontCheckDefaultBrowser = true;
|
|
|
|
DisablePocket = true;
|
|
|
|
DisableTelemetry = true;
|
|
|
|
DisplayBookmarksToolbar = "always";
|
|
|
|
EnableTrackingProtection = {
|
|
|
|
Value = true;
|
|
|
|
Locked = true;
|
|
|
|
Cryptomining = true;
|
|
|
|
};
|
|
|
|
FirefoxHome = {
|
|
|
|
Search = true;
|
|
|
|
TopSites = false;
|
|
|
|
SponsoredTopSites = false;
|
|
|
|
Highlights = false;
|
|
|
|
Pocket = false;
|
|
|
|
SponsoredPocket = false;
|
|
|
|
Snippets = false;
|
|
|
|
Locked = true;
|
|
|
|
};
|
|
|
|
UserMessaging = {
|
|
|
|
WhatsNew = false;
|
|
|
|
ExtensionRecommendations = false;
|
|
|
|
FeatureRecommendations = false;
|
|
|
|
UrlbarInterventions = false;
|
|
|
|
SkipOnboarding = true;
|
|
|
|
MoreFromMozilla = false;
|
|
|
|
};
|
|
|
|
NoDefaultBookmarks = true;
|
|
|
|
OfferToSaveLogins = false;
|
|
|
|
SearchSuggestEnabled = false;
|
|
|
|
OverrideFirstRunPage = "";
|
|
|
|
OverridePostUpdatePage = "";
|
|
|
|
ExtensionSettings = {
|
|
|
|
"{b743f56d-1cc1-4048-8ba6-f9c2ab7aa54d}" = {
|
|
|
|
"allowed_types" = "theme";
|
|
|
|
"installation_mode" = "force_installed";
|
|
|
|
"install_url" = "https://addons.mozilla.org/firefox/downloads/latest/dracula-dark-colorscheme/latest.xpi";
|
|
|
|
};
|
|
|
|
"{d634138d-c276-4fc8-924b-40a0ea21d284}" = {
|
|
|
|
"allowed_types" = "extension";
|
|
|
|
"installation_mode" = "force_installed";
|
|
|
|
"install_url" = "https://addons.mozilla.org/firefox/downloads/latest/1password-x-password-manager/latest.xpi";
|
|
|
|
};
|
2023-09-06 10:02:55 +05:30
|
|
|
"{446900e4-71c2-419f-a6a7-df9c091e268b}" = {
|
|
|
|
"allowed_types" = "extension";
|
|
|
|
"installation_mode" = "force_installed";
|
|
|
|
"install_url" = "https://addons.mozilla.org/firefox/downloads/latest/bitwarden-password-manager/latest.xpi";
|
|
|
|
};
|
2023-03-25 22:10:09 +05:30
|
|
|
"queryamoid@kaply.com" = {
|
|
|
|
"allowed_types" = "extension";
|
|
|
|
"installation_mode" = "force_installed";
|
|
|
|
"install_url" = "https://github.com/mkaply/queryamoid/releases/download/v0.2/query_amo_addon_id-0.2-fx.xpi";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
Preferences = {
|
|
|
|
"browser.crashReports.unsubmittedCheck.autoSubmit2" = {
|
|
|
|
Value = false;
|
|
|
|
Status = "locked";
|
|
|
|
};
|
|
|
|
"browser.selfsupport.url" = {
|
|
|
|
Value = "";
|
|
|
|
Status = "locked";
|
2023-03-15 22:11:59 +05:30
|
|
|
};
|
2023-03-25 22:10:09 +05:30
|
|
|
"browser.aboutConfig.showWarning" = {
|
|
|
|
Value = false;
|
|
|
|
Status = "locked";
|
2023-03-17 22:43:51 +05:30
|
|
|
};
|
2023-03-25 22:10:09 +05:30
|
|
|
"browser.aboutHomeSnippets.updateUrl" = {
|
|
|
|
Value = "";
|
|
|
|
Status = "locked";
|
2023-03-15 22:11:59 +05:30
|
|
|
};
|
2023-03-25 22:10:09 +05:30
|
|
|
"browser.startup.homepage_override.mstone" = {
|
|
|
|
Value = "ignore";
|
|
|
|
Status = "locked";
|
2023-03-15 22:11:59 +05:30
|
|
|
};
|
2023-03-25 22:10:09 +05:30
|
|
|
"browser.startup.homepage_override.buildID" = {
|
|
|
|
Value = "";
|
|
|
|
Status = "locked";
|
|
|
|
};
|
|
|
|
"browser.tabs.firefox-view" = {
|
|
|
|
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";
|
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;
|
2023-03-20 21:25:04 +05:30
|
|
|
"identity.fxaccounts.account.device.name" = osConfig.networking.hostName;
|
2023-03-15 22:11:59 +05:30
|
|
|
"privacy.donottrackheader.enabled" = true;
|
|
|
|
"privacy.firstparty.isolate" = true;
|
|
|
|
"startup.homepage_welcome_url" = "";
|
|
|
|
"startup.homepage_welcome_url.additional" = "";
|
|
|
|
"startup.homepage_override_url" = "";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|