From ac48caed84f59cb17510a3609b6a990c7c959def Mon Sep 17 00:00:00 2001 From: Yan Lin Date: Fri, 1 Aug 2025 00:02:01 +0200 Subject: [PATCH] Add extension policies --- modules/firefox.nix | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/modules/firefox.nix b/modules/firefox.nix index f9cbcd4..05a37e2 100644 --- a/modules/firefox.nix +++ b/modules/firefox.nix @@ -4,6 +4,20 @@ programs.firefox = { enable = true; + # Policies to configure extension behavior + policies = { + ExtensionSettings = { + # Pin uBlock Origin to toolbar + "uBlock0@raymondhill.net" = { + default_area = "navbar"; + }; + # Pin Linkding Extension to toolbar + "{61a05c39-ad45-4086-946f-32adb0a40a9d}" = { + default_area = "navbar"; + }; + }; + }; + profiles.yanlin = { id = 0; isDefault = true;