dotfiles/home-manager/modules/firefox/config/search/selfHosted.nix

15 lines
532 B
Nix
Raw Normal View History

2024-11-09 16:44:23 -06:00
{flake, ...}: let
inherit (flake.config.services) instances;
in {
"${instances.jellyfin.label}" = {
definedAliases = ["@jf"];
icon = ./icons/jf.png;
urls = [{template = "https://${instances.jellyfin.subdomain}.${instances.web.domains.url0}/web/#/search.html?query={searchTerms}";}];
};
"${instances.peertube.label}" = {
definedAliases = ["@pt"];
icon = ./icons/pt.png;
urls = [{template = "https://${instances.peertube.subdomain}.${instances.web.domains.url1}/search?search={searchTerms}";}];
};
}