Add search engines & plugins to firefox

This commit is contained in:
GHOSCHT 2023-12-27 22:43:37 +01:00
parent 1ac89233a1
commit 6aee8be124
Signed by: ghoscht
GPG key ID: 2C2C1C62A5388E82

View file

@ -7,14 +7,70 @@
imports = [inputs.arkenfox.hmModules.default];
programs.firefox = {
enable = true;
arkenfox = {
enable = true;
version = "119.0";
};
profiles.Default.arkenfox = {
enable = true;
"0000".enable = true;
profiles.Default = {
extensions = with inputs.firefox-addons.packages."x86_64-linux"; [
bitwarden
ublock-origin
darkreader
];
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"];
};
"Searx" = {
urls = [
{
template = "https://paulgo.io/search";
params = [
{
name = "q";
value = "{searchTerms}";
}
];
}
];
iconUpdateURL = "https://paulgo.io/favicon.ico";
definedAliases = ["@sx"];
};
};
search.force = true;
search.default = "Searx";
settings = {
"dom.security.https_only_mode" = true;
"browser.download.panel.shown" = true;
"signon.rememberSignons" = false;
};
arkenfox = {
enable = true;
"0000".enable = true;
};
};
};