get search-engine icons from url instead of local file

otherwise the icons wont load when copying the search engines over to windows :p
This commit is contained in:
xunuwu 2025-09-29 11:55:15 +02:00
parent 85f9d445e8
commit c5bc75d893
Signed by: xun
SSH key fingerprint: SHA256:V3Mr/7NoQDU5RcVlyzUQTuAo3EiCWdg498yk6bfVf7E

View file

@ -22,12 +22,12 @@
}; };
"Nix Packages" = { "Nix Packages" = {
urls = mkUrl "https://search.nixos.org/packages?channel=unstable&query={searchTerms}"; urls = mkUrl "https://search.nixos.org/packages?channel=unstable&query={searchTerms}";
icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg"; icon = "https://nixos.org/favicon.svg";
definedAliases = ["@np"]; definedAliases = ["@np"];
}; };
"NixOS Options" = { "NixOS Options" = {
urls = mkUrl "https://search.nixos.org/options?channel=unstable&query={searchTerms}"; urls = mkUrl "https://search.nixos.org/options?channel=unstable&query={searchTerms}";
icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg"; icon = "https://nixos.org/favicon.svg";
definedAliases = ["@no"]; definedAliases = ["@no"];
}; };
"GitHub" = { "GitHub" = {