about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--hm/soispha/conf/firefox/config/policies/default.nix23
1 files changed, 14 insertions, 9 deletions
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;