From 3ce2a3cd73c3aaebb28c44f53b123c315b090801 Mon Sep 17 00:00:00 2001 From: Yorick Barbanneau Date: Mon, 6 Jan 2025 10:49:10 +0100 Subject: [PATCH 1/3] chore(firefox): update extensions configuration --- modules/home-manager/web/firefox/conf/extensions.nix | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/modules/home-manager/web/firefox/conf/extensions.nix b/modules/home-manager/web/firefox/conf/extensions.nix index 498c96d..23d833d 100644 --- a/modules/home-manager/web/firefox/conf/extensions.nix +++ b/modules/home-manager/web/firefox/conf/extensions.nix @@ -9,6 +9,15 @@ "extensions.getAddons.showPane" = false; "extensions.webservice.discoverURL" = ""; -# disable pocket extention +# disable pocket extension "extensions.pocket.enabled" = false; + +# disable extensions recommendations + "extensions.htmlaboutaddons.recommendations.enabled" = false; + +# Automatically activate extensions + "extensions.autoDisableScopes" = 0; + +# Deacticate extensions auto-update + "extensions.update.enabled" = false; } From 2b6b3237533d5daf4ed56c7b8fed4f3f0eeae7d9 Mon Sep 17 00:00:00 2001 From: Yorick Barbanneau Date: Mon, 6 Jan 2025 10:49:55 +0100 Subject: [PATCH 2/3] chore(work): install Okta Firefox extension --- hosts/work/home-config.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hosts/work/home-config.nix b/hosts/work/home-config.nix index 90b099a..45b0195 100644 --- a/hosts/work/home-config.nix +++ b/hosts/work/home-config.nix @@ -1,4 +1,4 @@ -{ ... }: { +{ pkgs, ... }: { config.modules = { application = { zathura.enable = true; @@ -25,6 +25,9 @@ web.firefox = { enable = true; enableNixGL = true; + optionalExtensions = with pkgs.nur.repos.rycee.firefox-addons; [ + okta-browser-plugin + ]; }; }; } From c6715deda1dfb351281b8158a0fd479984378070 Mon Sep 17 00:00:00 2001 From: Yorick Barbanneau Date: Mon, 6 Jan 2025 10:51:12 +0100 Subject: [PATCH 3/3] style: remove trailing space --- modules/home-manager/web/firefox/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/home-manager/web/firefox/default.nix b/modules/home-manager/web/firefox/default.nix index d0f996f..4f35b13 100644 --- a/modules/home-manager/web/firefox/default.nix +++ b/modules/home-manager/web/firefox/default.nix @@ -83,7 +83,7 @@ in search = { force = true; default = "DuckDuckGo"; - engines = { + engines = { "Nix Packages" = { urls = [{ template = "https://search.nixos.org/packages";