2023-06-16 08:48:18 +01:00
|
|
|
{pkgs, ...}: {
|
2023-06-16 07:14:07 +01:00
|
|
|
programs.firefox = {
|
|
|
|
enable = true;
|
|
|
|
profiles.evie = {
|
2023-06-16 08:48:18 +01:00
|
|
|
search = {
|
|
|
|
default = "DuckDuckGo";
|
|
|
|
force = true;
|
|
|
|
order = ["DuckDuckGo"];
|
|
|
|
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"];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2023-06-16 07:14:07 +01:00
|
|
|
settings = {
|
|
|
|
"browser.startup.homepage" = "https://nixos.org";
|
|
|
|
"browser.search.region" = "GB";
|
|
|
|
"browser.search.isUS" = false;
|
|
|
|
"distribution.searchplugins.defaultLocale" = "en-GB";
|
|
|
|
"general.useragent.locale" = "en-GB";
|
|
|
|
"browser.bookmarks.showMobileBookmarks" = true;
|
|
|
|
"browser.newtabpage.pinned" = [
|
|
|
|
{
|
|
|
|
title = "NixOS";
|
|
|
|
url = "https://nixos.org";
|
|
|
|
}
|
|
|
|
];
|
|
|
|
};
|
|
|
|
extensions = []; # TODO
|
|
|
|
bookmarks = [
|
|
|
|
{
|
|
|
|
name = "wikipedia";
|
|
|
|
tags = ["wiki"];
|
|
|
|
keyword = "wiki";
|
|
|
|
url = "https://en.wikipedia.org/wiki/Special:Search?search=%s&go=Go";
|
|
|
|
}
|
|
|
|
{
|
|
|
|
name = "kernel.org";
|
|
|
|
url = "https://www.kernel.org";
|
|
|
|
}
|
|
|
|
{
|
|
|
|
name = "Nix sites";
|
|
|
|
toolbar = true;
|
|
|
|
bookmarks = [
|
|
|
|
{
|
|
|
|
name = "homepage";
|
|
|
|
url = "https://nixos.org/";
|
|
|
|
}
|
|
|
|
{
|
|
|
|
name = "wiki";
|
|
|
|
tags = ["wiki" "nix"];
|
|
|
|
url = "https://nixos.wiki/";
|
|
|
|
}
|
|
|
|
];
|
|
|
|
}
|
|
|
|
];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|