aboutsummaryrefslogtreecommitdiffstats
path: root/hm/soispha/conf/firefox
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2023-10-22 11:27:56 +0200
committerSoispha <soispha@vhack.eu>2023-10-22 13:05:19 +0200
commita340ae8f9c27fb70e965d7a9030b222303ce329a (patch)
tree62212821ba2ac8bb90ea0fa1fa14113950789024 /hm/soispha/conf/firefox
parentfix(hm/conf/firefox/conf/policies): Explicitly enable devtools (diff)
downloadnixos-config-a340ae8f9c27fb70e965d7a9030b222303ce329a.zip
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
Diffstat (limited to 'hm/soispha/conf/firefox')
-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;