From 5c99e52e09e7fa83edfad0213c81db2bc6fa7104 Mon Sep 17 00:00:00 2001 From: andromeda Date: Sun, 25 Jan 2026 10:58:15 +0100 Subject: patch phoenix to allow user to auto enable extensions --- users/andromeda/home.nix | 69 +++++++----------------------------------------- 1 file changed, 9 insertions(+), 60 deletions(-) (limited to 'users/andromeda') diff --git a/users/andromeda/home.nix b/users/andromeda/home.nix index da409eb..af9c361 100644 --- a/users/andromeda/home.nix +++ b/users/andromeda/home.nix @@ -98,69 +98,18 @@ in { cfg.enableTridactylNative = true; }; profiles.${config.home.username} = { - extensions.packages = [ - pkgs.nur.repos.rycee.firefox-addons.tridactyl - ]; + extensions = { + force = true; + packages = [ + pkgs.nur.repos.rycee.firefox-addons.tridactyl + ]; + }; search = { - default = "ddghtml"; - privateDefault = "ddghtml"; + default = "DuckDuckGo (HTML)"; + privateDefault = "DuckDuckGo (HTML)"; order = [ - "wiki" - "options" - "packages" - "repos" + "DuckDuckGo (HTML)" ]; - engines = { - "packages" = { - urls = [ - { - template = "https://search.nixos.org/packages"; - params = [ - { - name = "channel"; - value = "unstable"; - } - { - name = "query"; - value = "{searchTerms}"; - } - ]; - } - ]; - }; - - "options" = { - urls = [ - { - template = "https://search.nixos.org/options"; - params = [ - { - name = "channel"; - value = "unstable"; - } - { - name = "query"; - value = "{searchTerms}"; - } - ]; - } - ]; - }; - - "wiki" = { - urls = [ - { - template = "https://wiki.nixos.org/w/index.php"; - params = [ - { - name = "search"; - value = "{searchTerms}"; - } - ]; - } - ]; - }; - }; }; settings = { "extensions.autoDisableScopes" = 0; -- cgit v1.3