{ pkgs, firefox, ... }: { programs.firefox = { package = firefox.packages.${pkgs.system}.firefox-nightly-bin; enable = true; profiles = { unhardened = { id = 1; }; default = { userChrome = '' /* Hide tab bar in FF Quantum */ @-moz-document url("chrome://browser/content/browser.xul") { #TabsToolbar { visibility: collapse !important; margin-bottom: 21px !important; } #sidebar-box[sidebarcommand="treestyletab_piro_sakura_ne_jp-sidebar-action"] #sidebar-header { visibility: collapse !important; } } ''; settings = { "font.default.x-western" = "sans-serif"; "font.name-list.monospace.x-western" = "monospace, nasin-nanpa"; "font.name-list.sans-serif.x-western" = "sans-serif, nasin-nanpa"; "font.name-list.serif.x-western" = "sans-serif, nasin-nanpa"; }; id = 0; }; }; }; }