mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-22 16:23:57 +01:00
23b5891753
Reduces the closure size when mbrola isn't included in any other packages.
39 lines
967 B
Nix
39 lines
967 B
Nix
{ pkgs, ... }:
|
|
|
|
let
|
|
inherit (pkgs) librewolf;
|
|
in
|
|
{
|
|
programs.librewolf = {
|
|
enable = true;
|
|
|
|
package = librewolf.override {
|
|
cfg.speechSynthesisSupport = false;
|
|
};
|
|
|
|
settings = {
|
|
"middlemouse.paste" = false;
|
|
|
|
"ui.use_activity_cursor" = true;
|
|
|
|
"browser.download.useDownloadDir" = true;
|
|
"browser.tabs.insertAfterCurrent" = true;
|
|
"browser.tabs.warnOnClose" = true;
|
|
"browser.toolbars.bookmarks.visibility" = "never";
|
|
"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;
|
|
"browser.urlbar.suggest.openpage" = false;
|
|
"browser.urlbar.suggest.topsites" = false;
|
|
|
|
"sidebar.position_start" = false;
|
|
"findbar.highlightAll" = true;
|
|
|
|
"xpinstall.signatures.required" = false;
|
|
};
|
|
};
|
|
}
|