2022-12-18 15:15:15 +00:00
|
|
|
pkgs: {
|
|
|
|
enable = true;
|
|
|
|
profiles = { nixos = {
|
|
|
|
name = "NixOS Profile";
|
|
|
|
settings = {
|
|
|
|
"media.ffmpeg.vaapi.enabled" = true;
|
|
|
|
"browser.startup.homepage" = "https://ipfs.io/ipfs/QmcnP6Fa2cs8SMLAMC12caF1pFoso4ZKU8FLKagFtKGfa1";
|
|
|
|
"browser.cache.disk.capacity" = 536870912; # 1 GiB
|
|
|
|
"extensions.pocket.enabled" = false;
|
2023-01-11 20:00:08 +00:00
|
|
|
"browser.eme.ui.enabled" = false; # DRM popup
|
2023-02-09 19:22:05 +00:00
|
|
|
"image.jxl.enabled" = true;
|
2023-01-16 16:24:18 +00:00
|
|
|
|
|
|
|
"browser.aboutConfig.showWarning" = false;
|
|
|
|
"browser.search.suggest.enabled" = false;
|
2022-12-18 15:15:15 +00:00
|
|
|
};
|
|
|
|
search.force = true;
|
|
|
|
search.default = "DuckDuckGo";
|
|
|
|
search.engines = {
|
|
|
|
"YouTube" = {
|
|
|
|
urls = [{
|
|
|
|
template = "https://youtube.com/results";
|
|
|
|
params = [
|
|
|
|
{name = "search_query"; value = "{searchTerms}";}
|
|
|
|
{name = "page"; value = "{startPage}";}
|
|
|
|
];
|
|
|
|
}];
|
|
|
|
iconUpdateURL = "https://www.youtube.com/favicon.ico";
|
|
|
|
updateInterval = 7 * 24 * 60 * 60 * 1000; # every week
|
|
|
|
definedAliases = [ "!yt" ];
|
|
|
|
};
|
|
|
|
"ArchWiki" = {
|
|
|
|
urls = [{
|
|
|
|
template = "https://wiki.archlinux.org/index.php";
|
|
|
|
params = [
|
|
|
|
{name = "search"; value = "{searchTerms}";}
|
|
|
|
{name = "title"; value = "Special:Search";}
|
|
|
|
];
|
|
|
|
}];
|
|
|
|
iconUpdateURL = "https://wiki.archlinux.org/favicon.ico";
|
|
|
|
updateInterval = 7 * 24 * 60 * 60 * 1000; # every week
|
|
|
|
definedAliases = [ "!a" ];
|
|
|
|
};
|
|
|
|
"NixOS Wiki" = {
|
|
|
|
urls = [{ template = "https://nixos.wiki/index.php?search={searchTerms}"; }];
|
|
|
|
iconUpdateURL = "https://nixos.wiki/favicon.png";
|
|
|
|
updateInterval = 7 * 24 * 60 * 60 * 1000; # every week
|
|
|
|
definedAliases = [ "!nix" ];
|
|
|
|
};
|
2023-01-17 01:26:39 +00:00
|
|
|
"Anna's Archive" = {
|
|
|
|
urls = [
|
2023-01-17 03:21:03 +00:00
|
|
|
{
|
|
|
|
template = "https://annas-archive.org/search";
|
|
|
|
params = [
|
|
|
|
{name = "q"; value = "{searchTerms}";}
|
|
|
|
];
|
|
|
|
}
|
2023-01-17 01:26:39 +00:00
|
|
|
];
|
|
|
|
iconUpdateURL = "https://annas-archive.org/favicon.ico";
|
|
|
|
updateInterval = 7 * 24 * 60 * 60 * 1000; # every week
|
|
|
|
definedAliases = [ "!aa" ];
|
|
|
|
};
|
|
|
|
"GitHub" = {
|
|
|
|
urls = [
|
2023-01-17 03:21:03 +00:00
|
|
|
{
|
|
|
|
template = "https://github.com/search";
|
|
|
|
params = [
|
|
|
|
{name = "q"; value = "{searchTerms}";}
|
|
|
|
];
|
|
|
|
}
|
2023-01-17 01:26:39 +00:00
|
|
|
];
|
|
|
|
iconUpdateURL = "https://github.com/favicon.ico";
|
|
|
|
updateInterval = 7 * 24 * 60 * 60 * 1000; # every week
|
|
|
|
definedAliases = [ "!gh" ];
|
|
|
|
};
|
2022-12-18 15:15:15 +00:00
|
|
|
"Wikipedia (en)".metaData.alias = "!w";
|
|
|
|
"Google".metaData.alias = "!g";
|
|
|
|
"Bing".metaData.hidden = true;
|
|
|
|
};
|
|
|
|
};};
|
2023-01-17 01:26:39 +00:00
|
|
|
}
|