mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-22 00:03:55 +01:00
2297fb41e3
Having to change the package list in two places was a bit redundant. We can also use `with` patterns now since nixd warns if there are escaping variables being used. Note that variables used in multiple places are kept to make it easier to recognize that those variables must be changed together. Also note that inherit (pkgs) inside of mkMerge are currently kept to reduce the diff.
36 lines
996 B
Nix
36 lines
996 B
Nix
{ pkgs, ... }:
|
|
|
|
{
|
|
programs.librewolf = {
|
|
enable = true;
|
|
|
|
package = pkgs.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;
|
|
|
|
"toolkit.legacyUserProfileCustomizations.stylesheets" = true;
|
|
};
|
|
};
|
|
}
|