57 lines
1.3 KiB
Nix
57 lines
1.3 KiB
Nix
{ pkgs, inputs, ... }:
|
|
|
|
{
|
|
programs.firefox = {
|
|
enable = true;
|
|
profiles.joy = {
|
|
|
|
search.engines = {
|
|
"4get" = {
|
|
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" ];
|
|
};
|
|
};
|
|
search.force = true;
|
|
|
|
bookmarks = [
|
|
{
|
|
name = "wikipedia";
|
|
tags = [ "wiki" ];
|
|
keyword = "wiki";
|
|
url = "https://en.wikipedia.org/wiki/Special:Search?search=%s&go=Go";
|
|
}
|
|
];
|
|
|
|
settings = {
|
|
"dom.security.https_only_mode" = true;
|
|
"browser.download.panel.shown" = true;
|
|
"identity.fxaccounts.enabled" = false;
|
|
"signon.rememberSignons" = false;
|
|
};
|
|
|
|
userChrome = ''
|
|
/* some css */
|
|
'';
|
|
|
|
extensions = with inputs.firefox-addons.packages."x86_64-linux"; [
|
|
bitwarden
|
|
ublock-origin
|
|
sponsorblock
|
|
darkreader
|
|
tridactyl
|
|
youtube-shorts-block
|
|
];
|
|
|
|
};
|
|
};
|
|
}
|
|
|