This commit is contained in:
@@ -1,4 +1,8 @@
|
||||
{ pkgs, inputs, ... }: {
|
||||
{
|
||||
pkgs,
|
||||
inputs,
|
||||
...
|
||||
}: {
|
||||
programs.firefox = {
|
||||
enable = true;
|
||||
profiles.dark = {
|
||||
@@ -49,56 +53,59 @@
|
||||
search = {
|
||||
force = true;
|
||||
default = "Searx";
|
||||
order = [ "Searx" "google" ];
|
||||
order = ["Searx" "google"];
|
||||
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" ];
|
||||
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://nixos.wiki/index.php?search={searchTerms}";
|
||||
}];
|
||||
urls = [
|
||||
{
|
||||
template = "https://nixos.wiki/index.php?search={searchTerms}";
|
||||
}
|
||||
];
|
||||
icon = "https://nixos.wiki/favicon.png";
|
||||
updateInterval = 24 * 60 * 60 * 1000; # every day
|
||||
definedAliases = [ "@nw" ];
|
||||
definedAliases = ["@nw"];
|
||||
};
|
||||
"Searx" = {
|
||||
urls = [{
|
||||
template = "https://searx.aicampground.com/?q={searchTerms}";
|
||||
}];
|
||||
urls = [
|
||||
{
|
||||
template = "https://searx.aicampground.com/?q={searchTerms}";
|
||||
}
|
||||
];
|
||||
icon = "https://nixos.wiki/favicon.png";
|
||||
updateInterval = 24 * 60 * 60 * 1000; # every day
|
||||
definedAliases = [ "@searx" ];
|
||||
definedAliases = ["@searx"];
|
||||
};
|
||||
bing.metaData.hidden = true;
|
||||
google.metaData.alias =
|
||||
"@g"; # builtin engines only support specifying one additional alias
|
||||
google.metaData.alias = "@g"; # builtin engines only support specifying one additional alias
|
||||
};
|
||||
};
|
||||
|
||||
extensions.packages =
|
||||
with inputs.firefox-addons.packages.${pkgs.system}; [
|
||||
bitwarden
|
||||
multi-account-containers
|
||||
zotero-connector
|
||||
unpaywall
|
||||
];
|
||||
extensions.packages = with inputs.firefox-addons.packages.${pkgs.stdenv.hostPlatform.system}; [
|
||||
bitwarden
|
||||
multi-account-containers
|
||||
zotero-connector
|
||||
unpaywall
|
||||
];
|
||||
};
|
||||
};
|
||||
stylix.targets.firefox.profileNames = [ "dark" ];
|
||||
stylix.targets.firefox.profileNames = ["dark"];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user