From f962a930d73f00cebddcaa5998c8a6e4a49fdfb9 Mon Sep 17 00:00:00 2001 From: Nico Date: Thu, 29 May 2025 00:05:18 +1000 Subject: [PATCH 1/2] firefox: allow extensions to connect to the internet --- modules/browser/firefox.nix | 9 --------- 1 file changed, 9 deletions(-) diff --git a/modules/browser/firefox.nix b/modules/browser/firefox.nix index 7b10ac0..7e37213 100644 --- a/modules/browser/firefox.nix +++ b/modules/browser/firefox.nix @@ -124,15 +124,6 @@ // use same search engine (duckduckgo) for private browsing lockPref("browser.search.separatePrivateDefault", false); - - // stop extensions connecting to the internet - lockPref( - "extensions.webextensions.base-content-security-policy", - "default-src 'none'; script-src 'none'; object-src 'none';" - ); - lockPref( - "extensions.webextensions.base-content-security-policy.v3", - "default-src 'none'; script-src 'none'; object-src 'none';" ); ''; } From a77580ed1a8c46e432b0ca1e9e97c96fa5649d39 Mon Sep 17 00:00:00 2001 From: Nico Date: Thu, 29 May 2025 00:08:00 +1000 Subject: [PATCH 2/2] firefox: replace keepassxc with 1Password --- modules/browser/firefox.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/browser/firefox.nix b/modules/browser/firefox.nix index 7e37213..6473870 100644 --- a/modules/browser/firefox.nix +++ b/modules/browser/firefox.nix @@ -20,9 +20,9 @@ installation_mode = "force_installed"; install_url = "https://addons.mozilla.org/firefox/downloads/latest/temporarytabcontainer/latest.xpi"; }; - "keepassxc-browser@keepassxc.org" = { + "{d634138d-c276-4fc8-924b-40a0ea21d284}" = { installation_mode = "force_installed"; - install_url = "https://addons.mozilla.org/firefox/downloads/latest/keepassxc-browser/latest.xpi"; + install_url = "https://addons.mozilla.org/firefox/downloads/latest/1password-x-password-manager/latest.xpi"; }; "pywalfox@frewacom.org" = { installation_mode = "force_installed";