nix-config/home/librewolf.nix

50 lines
1.3 KiB
Nix
Raw Normal View History

{ pkgs, ... }:
2023-06-17 02:15:45 +02:00
{
programs.librewolf = {
enable = true;
package = pkgs.librewolf.override { cfg.speechSynthesisSupport = false; };
profiles.default = {
search = {
force = true;
default = "Mullvad";
privateDefault = "Mullvad";
engines = {
Mullvad = {
urls = [{ template = "https://leta.mullvad.net/?q={searchTerms}"; }];
icon = "${pkgs.mullvad-vpn}/share/icons/hicolor/32x32/apps/mullvad-vpn.png";
};
};
};
};
2023-06-17 02:15:45 +02:00
settings = {
"middlemouse.paste" = false;
"browser.download.useDownloadDir" = true;
"browser.tabs.insertAfterCurrent" = true;
"browser.tabs.warnOnClose" = true;
2023-06-17 02:15:45 +02:00
"browser.toolbars.bookmarks.visibility" = "never";
2023-06-25 15:15:01 +02:00
"browser.quitShortcut.disabled" = true;
"browser.sessionstore.restore_pinned_tabs_on_demand" = true;
"browser.urlbar.suggest.bookmark" = false;
"browser.urlbar.suggest.engines" = false;
"browser.urlbar.suggest.history" = false;
2024-05-20 17:52:45 +02:00
"browser.urlbar.suggest.openpage" = false;
"browser.urlbar.suggest.topsites" = false;
"browser.urlbar.trimHttps" = true;
2023-06-17 02:15:45 +02:00
"sidebar.position_start" = false;
"findbar.highlightAll" = true;
"xpinstall.signatures.required" = false;
"toolkit.legacyUserProfileCustomizations.stylesheets" = true;
2023-06-17 02:15:45 +02:00
};
};
}