2024-05-26 11:39:55 +02:00
|
|
|
{ pkgs, ... }:
|
|
|
|
|
2023-06-17 02:15:45 +02:00
|
|
|
{
|
|
|
|
programs.librewolf = {
|
|
|
|
enable = true;
|
|
|
|
|
2024-08-07 22:32:53 +02:00
|
|
|
package = pkgs.librewolf.override { cfg.speechSynthesisSupport = false; };
|
2024-05-26 11:39:55 +02:00
|
|
|
|
2024-08-13 22:24:10 +02:00
|
|
|
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;
|
2024-03-30 17:24:47 +01:00
|
|
|
"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;
|
2024-05-20 16:42:42 +02:00
|
|
|
"browser.sessionstore.restore_pinned_tabs_on_demand" = true;
|
2024-05-20 17:06:12 +02:00
|
|
|
|
2024-05-20 16:41:21 +02:00
|
|
|
"browser.urlbar.suggest.bookmark" = false;
|
2024-05-20 17:06:12 +02:00
|
|
|
"browser.urlbar.suggest.engines" = false;
|
2023-07-26 18:12:03 +02:00
|
|
|
"browser.urlbar.suggest.history" = false;
|
2024-05-20 17:52:45 +02:00
|
|
|
"browser.urlbar.suggest.openpage" = false;
|
2024-05-19 20:31:36 +02:00
|
|
|
"browser.urlbar.suggest.topsites" = false;
|
2023-06-17 02:15:45 +02:00
|
|
|
|
|
|
|
"sidebar.position_start" = false;
|
|
|
|
"findbar.highlightAll" = true;
|
2024-05-19 20:32:52 +02:00
|
|
|
|
|
|
|
"xpinstall.signatures.required" = false;
|
2024-07-21 19:27:54 +02:00
|
|
|
|
|
|
|
"toolkit.legacyUserProfileCustomizations.stylesheets" = true;
|
2023-06-17 02:15:45 +02:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|