niksos/hosts/niks/firefox.nix

52 lines
2.2 KiB
Nix
Raw Normal View History

2024-05-08 21:23:59 +02:00
{
pkgs,
...
}: {
2024-07-15 23:18:25 +02:00
poz.programs.firefox = {
2024-05-08 21:23:59 +02:00
enable = true;
defaultSearchEngine = "NotASearx";
searchEngines = {
"NotASearx" = {
url = "https://search.notashelf.dev/search?q={searchTerms}";
faviconUrl = "https://search.notashelf.dev/favicon.ico";
aliases = [ "@sx" ];
2024-05-08 21:23:59 +02:00
};
"NixOS Packages" = {
url = "https://search.nixos.org/packages?channel=unstable&query={searchTerms}";
faviconPath = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
aliases = [ "@np" ];
2024-05-08 21:23:59 +02:00
};
"NixOS Options" = {
url = "https://search.nixos.org/options?channel=unstable&query={searchTerms}";
faviconPath = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
aliases = [ "@no" ];
2024-05-08 21:23:59 +02:00
};
"NixOS Wiki" = {
2024-08-25 22:11:02 +02:00
url = "https://wiki.nixos.org/w/index.php?search={searchTerms}";
2024-05-08 21:23:59 +02:00
faviconPath = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
aliases = [ "@nw" ];
2024-05-08 21:23:59 +02:00
};
2024-05-24 13:58:34 +02:00
"Home Manager Option Search" = {
url = "https://home-manager-options.extranix.com/?release=master&query={searchTerms}";
2024-05-08 21:23:59 +02:00
faviconPath = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
aliases = [ "@hm" ];
2024-05-08 21:23:59 +02:00
};
"Arch Wiki" = {
url = "https://wiki.archlinux.org/index.php?search={searchTerms}";
faviconUrl = "https://archlinux.org/favicon.ico";
aliases = [ "@aw" ];
2024-05-08 21:23:59 +02:00
};
"Gentoo Wiki" = {
url = "https://wiki.gentoo.org/index.php?search={searchTerms}";
faviconUrl = "https://www.gentoo.org/favicon.ico";
aliases = [ "@gw" ];
2024-05-08 21:23:59 +02:00
};
"Debian Wiki" = {
url = "https://wiki.debian.org/FrontPage?action=fullsearch&value={searchTerms}";
faviconUrl = "https://www.debian.org/favicon.ico";
aliases = [ "@dw" ];
2024-05-08 21:23:59 +02:00
};
};
};
}