diff --git a/users/rus07tam/modules/firefox/default.nix b/users/rus07tam/modules/firefox/default.nix index 509212c..1b6c16f 100644 --- a/users/rus07tam/modules/firefox/default.nix +++ b/users/rus07tam/modules/firefox/default.nix @@ -11,8 +11,42 @@ isDefault = true; search = { force = true; - default = "ddg"; + default = "searx"; engines = { + "GitHub" = { + urls = [ + { + template = "https://github.com/search"; + params = [ + { + name = "q"; + value = "{searchTerms}"; + } + { + name = "type"; + value = "code"; + } + ]; + } + ]; + icon = "https://github.githubassets.com/favicons/favicon.svg"; + definedAliases = [ "@gh" ]; + }; + "SearXNG" = { + urls = [ + { + template = "https://search.ruject.fun"; + params = [ + { + name = "q"; + value = "{searchTerms}"; + } + ]; + } + ]; + icon = "${pkgs.searxng}/share/static/themes/simple/img/favicon.svg"; + definedAliases = [ "@searx" "@searxng" ]; + }; "Nix Packages" = { urls = [ {