From a340ae8f9c27fb70e965d7a9030b222303ce329a Mon Sep 17 00:00:00 2001 From: Soispha Date: Sun, 22 Oct 2023 11:27:56 +0200 Subject: fix(hm/conf/firefox/conf/policies): Allow extensions to be installed Firefox will, without this setting set, disable the 'about:debugging' page, which is quite bothersome --- .../conf/firefox/config/policies/default.nix | 23 +++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) (limited to 'hm/soispha/conf') diff --git a/hm/soispha/conf/firefox/config/policies/default.nix b/hm/soispha/conf/firefox/config/policies/default.nix index 5acd1a19..55fd3cff 100644 --- a/hm/soispha/conf/firefox/config/policies/default.nix +++ b/hm/soispha/conf/firefox/config/policies/default.nix @@ -50,6 +50,7 @@ name = "langpack-${lang}@firefox.mozilla.org"; value = { installation_mode = "normal_installed"; + updates_disabled = true; install_url = "https://releases.mozilla.org/pub/firefox/releases/${config.soispha.firefox.package_version}/linux-x86_64/xpi/${lang}.xpi"; }; } @@ -102,16 +103,19 @@ in { ExtensionSettings = { "*" = { - blocked_install_message = '' - You can't install a extension manually, - please specify it in your NixOS configuration - ''; - installation_mode = "blocked"; + # Blocking the extension install here, also blocks the 'about:debugging' page + + # blocked_install_message = '' + # You can't install a extension manually, + # please specify it in your NixOS configuration + # ''; + installation_mode = "allowed"; }; } // allowedExtensions // blockedExtensions // language_packs; + ExtensionUpdate = false; # TODO: Add handlers for the default file types <2023-10-21> @@ -120,10 +124,11 @@ in { HardwareAcceleration = true; - InstallAddonsPermission = { - Allowed = []; - Default = false; - }; + # Blocking the extension install here, also blocks the 'about:debugging' page + # InstallAddonsPermission = { + # Allowed = []; + # Default = false; + # }; # KeepassXC and such things OfferToSaveLogins = false; -- cgit 1.4.1