Skip to content

Commit

Permalink
feat: expand the firefox browser policy
Browse files Browse the repository at this point in the history
  • Loading branch information
flexiondotorg committed Jun 3, 2024
1 parent 38f1fa0 commit 59bdd54
Showing 1 changed file with 46 additions and 0 deletions.
46 changes: 46 additions & 0 deletions nixos/_mixins/desktop/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -247,10 +247,25 @@ in
preferences = {
"browser.crashReports.unsubmittedCheck.autoSubmit2" = false;
"browser.crashReports.unsubmittedCheck.enabled" = false;
"browser.fixup.dns_first_for_single_words" = false;
"browser.newtab.extensionControlled" = true;
"browser.search.update" = true;
"browser.tabs.crashReporting.sendReport" = false;
"browser.urlbar.suggest.bookmark" = false;
"browser.urlbar.suggest.history" = true;
"browser.urlbar.suggest.openpage" = false;
"browser.tabs.warnOnClose" = false;
"browser.urlbar.update2.engineAliasRefresh" = true;
"datareporting.policy.dataSubmissionPolicyBypassNotification" = true;
"dom.disable_window_flip" = true;
"dom.disable_window_move_resize" = false;
"dom.event.contextmenu.enabled" = true;
"dom.reporting.crash.enabled" = false;
"extensions.getAddons.showPane" = false;
"media.gmp-gmpopenh264.enabled" = true;
"media.gmp-widevinecdm.enabled" = true;
"places.history.enabled" = true;
"security.ssl.errorReporting.enabled" = false;
"widget.use-xdg-desktop-portal.file-picker" = 1;
};
preferencesStatus = "default";
Expand All @@ -259,8 +274,10 @@ in
"AutofillCreditCardEnabled" = false;
"CaptivePortal" = true;
"Cookies" = {
"AcceptThirdParty" = "from-visited";
"Behavior" = "reject-tracker";
"BehaviorPrivateBrowsing" = "reject-tracker";
"RejectTracker" = true;
};
"DisableAppUpdate" = true;
"DisableDefaultBrowserAgent" = true;
Expand Down Expand Up @@ -328,6 +345,10 @@ in
install_url = "https://addons.mozilla.org/firefox/downloads/latest/new-tab-override/latest.xpi";
installation_mode = "force_installed";
};
"[email protected]" = {
install_url = "https://addons.mozilla.org/firefox/downloads/latest/enterprise-policy-generator/latest.xpi";
installation_mode = "force_installed";
};
};
"ExtensionUpdate" = true;
"FirefoxHome" = {
Expand All @@ -346,6 +367,9 @@ in
"ImproveSuggest" = false;
"Locked" = true;
};
"FlashPlugin" = {
"Default" = false;
};
"HardwareAcceleration" = true;
"Homepage" = {
"Locked" = false;
Expand All @@ -359,8 +383,30 @@ in
"OverrideFirstRunPage" = "";
"OverridePostUpdatePage" = "";
"PasswordManagerEnabled" = false;
"PopupBlocking" = {
"Default" = true;
};
"PromptForDownloadLocation" = false;
"SearchBar" = "unified";
"SearchEngines" = {
"Add" = [
{
"Description" = "Kagi";
"IconURL" = "https://assets.kagi.com/v2/apple-touch-icon.png";
"Method" = "GET";
"Name" = "Kagi";
"SuggestURLTemplate" = "https://kagi.com/api/autosuggest?q={searchTerms}";
"URLTemplate" = "https://kagi.com/search?q={searchTerms}";
}
];
"Default" = "Kagi";
"DefaultPrivate" = "Kagi";
"Remove" = [
"Bing"
"eBay"
"Google"
];
};
"SearchSuggestEnabled" = true;
"ShowHomeButton" = false;
"UserMessaging" = {
Expand Down

0 comments on commit 59bdd54

Please sign in to comment.