From 66be38bfbf0618a51081245e36ead9f8def9d75a Mon Sep 17 00:00:00 2001 From: Colin Date: Thu, 25 May 2023 01:01:34 +0000 Subject: [PATCH] librewolf: enable some more policies which might or might not actually improve things :-( i really hate firefox, but there's not much alternative. --- hosts/common/programs/web-browser.nix | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/hosts/common/programs/web-browser.nix b/hosts/common/programs/web-browser.nix index 233bce90..571b653a 100644 --- a/hosts/common/programs/web-browser.nix +++ b/hosts/common/programs/web-browser.nix @@ -56,10 +56,26 @@ let nixExtensions = concatMap (ext: optional ext.enable ext.package) (attrValues cfg.addons); extraPolicies = { + FirefoxHome = { + Search = true; + Pocket = false; + Snippets = false; + TopSites = false; + Highlights = false; + }; NoDefaultBookmarks = true; + OfferToSaveLogins = false; + OfferToSaveLoginsDefault = false; + PasswordManagerEnabled = false; SearchEngines = { Default = "DuckDuckGo"; }; + UserMessaging = { + ExtensionRecommendations = false; + SkipOnboarding = true; + }; + + # these were taken from Librewolf AppUpdateURL = "https://localhost"; DisableAppUpdate = true; OverrideFirstRunPage = ""; @@ -88,6 +104,7 @@ let # }; # NewTabPage = true; }; + # extraPrefs = ... }; addonOpts = types.submodule {