2024-09-26 09:42:09 +00:00
|
|
|
{pkgs, ...}: {
|
2024-08-25 19:58:12 +00:00
|
|
|
programs.chromium.enable = true;
|
2024-10-06 20:20:39 +00:00
|
|
|
programs.firefox = {
|
|
|
|
enable = true;
|
|
|
|
profiles = {
|
|
|
|
nezia = {
|
|
|
|
search = {
|
|
|
|
engines = {
|
|
|
|
"Nix Packages" = {
|
|
|
|
urls = [
|
|
|
|
{
|
|
|
|
template = "https://search.nixos.org/packages";
|
|
|
|
params = [
|
|
|
|
{
|
|
|
|
name = "type";
|
|
|
|
value = "packages";
|
|
|
|
}
|
|
|
|
{
|
|
|
|
name = "query";
|
|
|
|
value = "{searchTerms}";
|
|
|
|
}
|
|
|
|
];
|
|
|
|
}
|
|
|
|
];
|
|
|
|
icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
|
|
|
|
definedAliases = ["@np"];
|
|
|
|
};
|
|
|
|
"NixOS Wiki" = {
|
|
|
|
urls = [{template = "https://wiki.nixos.org/w/index.php?search={searchTerms}";}];
|
|
|
|
iconUpdateURL = "https://wiki.nixos.org/favicon.ico";
|
|
|
|
updateInterval = 24 * 60 * 60 * 1000; # every day
|
|
|
|
definedAliases = ["@nw"];
|
|
|
|
};
|
|
|
|
"Home Manager Option Search" = {
|
|
|
|
urls = [{template = "https://home-manager-options.extranix.com/?release=master&query={searchTerms}";}];
|
|
|
|
icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
|
|
|
|
definedAliases = ["@hm"];
|
|
|
|
};
|
|
|
|
"Arch Wiki" = {
|
|
|
|
urls = [{template = "https://wiki.archlinux.org/index.php?search={searchTerms}";}];
|
|
|
|
icon = "https://archlinux.org/favicon.ico";
|
|
|
|
definedAliases = ["@aw"];
|
|
|
|
};
|
|
|
|
"Google".metaData.alias = "@g"; # builtin engines only support specifying one additional alias
|
|
|
|
};
|
|
|
|
};
|
|
|
|
isDefault = true;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2024-08-25 19:58:12 +00:00
|
|
|
}
|