2022-10-18 22:41:40 -03:00
|
|
|
{ config, pkgs, lib, font, ... }:
|
|
|
|
let inherit (import ./variables.nix) key theme color accent font;
|
|
|
|
in {
|
|
|
|
config = {
|
|
|
|
programs.firefox = {
|
|
|
|
enable = true;
|
|
|
|
package = pkgs.firefox;
|
|
|
|
extensions = with pkgs.nur.repos.rycee.firefox-addons; [
|
|
|
|
darkreader
|
|
|
|
ublock-origin
|
|
|
|
tree-style-tab
|
|
|
|
sponsorblock
|
|
|
|
duckduckgo-privacy-essentials
|
|
|
|
];
|
|
|
|
profiles = {
|
|
|
|
main = {
|
|
|
|
isDefault = true;
|
|
|
|
settings = {
|
|
|
|
"devtools.theme" = "dark";
|
|
|
|
"toolkit.legacyUserProfileCustomizations.stylesheets" = true;
|
|
|
|
"browser.tabs.inTitlebar" = 0;
|
|
|
|
|
|
|
|
"media.ffmpeg.vaapi.enabled" = true;
|
|
|
|
"media.ffvpx.enabled" = false;
|
|
|
|
"media.av1.enabled" = false;
|
|
|
|
"gfx.webrender.all" = true;
|
|
|
|
};
|
|
|
|
userChrome = ''
|
2022-10-22 23:54:02 -03:00
|
|
|
#titlebar { display: none !important; }
|
2022-10-18 22:41:40 -03:00
|
|
|
'';
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2022-10-24 20:10:35 -03:00
|
|
|
home.sessionVariables = {
|
|
|
|
MOZ_ENABLE_WAYLAND = "1";
|
|
|
|
};
|
2022-10-18 22:41:40 -03:00
|
|
|
};
|
|
|
|
}
|