44 lines
No EOL
1.3 KiB
Nix
44 lines
No EOL
1.3 KiB
Nix
{ config, pkgs, ... }: {
|
|
programs.firefox = {
|
|
enable = true;
|
|
profiles.default = {
|
|
settings = {
|
|
"browser.startup.homepage" = "https://searx.sysctl.io";
|
|
"browser.search.region" = "US";
|
|
"browser.search.isUS" = false;
|
|
"distribution.searchplugins.defaultLocale" = "en-US";
|
|
"general.useragent.locale" = "en-US";
|
|
"browser.bookmarks.showMobileBookmarks" = false;
|
|
"browser.newtabpage.pinned" = [{
|
|
title = "Blank";
|
|
url = "about:blank";
|
|
}];
|
|
};
|
|
search.force = true;
|
|
search.order = [
|
|
"DuckDuckGo"
|
|
];
|
|
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://nixos.wiki/index.php?search={searchTerms}"; }];
|
|
iconUpdateURL = "https://nixos.wiki/favicon.png";
|
|
updateInterval = 24 * 60 * 60 * 1000; # every day
|
|
definedAliases = [ "@nw" ];
|
|
};
|
|
};
|
|
};
|
|
};
|
|
} |