programs/firefox: remove some dead code
This commit is contained in:
@@ -43,61 +43,6 @@ let
|
|||||||
];
|
];
|
||||||
|
|
||||||
nixExtensions = concatMap (ext: optional ext.enable ext.package) (attrValues cfg.addons);
|
nixExtensions = concatMap (ext: optional ext.enable ext.package) (attrValues cfg.addons);
|
||||||
|
|
||||||
# extraPolicies: only really required if using firefox; else, easier to configure this via overrides.cfg.
|
|
||||||
# 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;
|
|
||||||
# FeatureRecommendations = false;
|
|
||||||
# SkipOnboarding = true;
|
|
||||||
# UrlbarInterventions = false;
|
|
||||||
# WhatsNew = false;
|
|
||||||
# };
|
|
||||||
|
|
||||||
# # these were taken from Librewolf
|
|
||||||
# AppUpdateURL = "https://localhost";
|
|
||||||
# DisableAppUpdate = true;
|
|
||||||
# OverrideFirstRunPage = "";
|
|
||||||
# OverridePostUpdatePage = "";
|
|
||||||
# DisableSystemAddonUpdate = true;
|
|
||||||
# DisableFirefoxStudies = true;
|
|
||||||
# DisableTelemetry = true;
|
|
||||||
# DisableFeedbackCommands = true;
|
|
||||||
# DisablePocket = true;
|
|
||||||
# DisableSetDesktopBackground = false;
|
|
||||||
|
|
||||||
# # remove many default search providers
|
|
||||||
# # XXX this seems to prevent the `nixExtensions` from taking effect
|
|
||||||
# # Extensions.Uninstall = [
|
|
||||||
# # "google@search.mozilla.org"
|
|
||||||
# # "bing@search.mozilla.org"
|
|
||||||
# # "amazondotcom@search.mozilla.org"
|
|
||||||
# # "ebay@search.mozilla.org"
|
|
||||||
# # "twitter@search.mozilla.org"
|
|
||||||
# # ];
|
|
||||||
# # XXX doesn't seem to have any effect...
|
|
||||||
# # docs: https://github.com/mozilla/policy-templates#homepage
|
|
||||||
# # Homepage = {
|
|
||||||
# # HomepageURL = "https://uninsane.org/";
|
|
||||||
# # StartPage = "homepage";
|
|
||||||
# # };
|
|
||||||
# # NewTabPage = true;
|
|
||||||
# };
|
|
||||||
# extraPrefs = ...
|
|
||||||
}).overrideAttrs (base: {
|
}).overrideAttrs (base: {
|
||||||
nativeBuildInputs = (base.nativeBuildInputs or []) ++ [
|
nativeBuildInputs = (base.nativeBuildInputs or []) ++ [
|
||||||
pkgs.copyDesktopItems
|
pkgs.copyDesktopItems
|
||||||
|
Reference in New Issue
Block a user