2023-10-10 08:14:59 +00:00
|
|
|
{
|
|
|
|
pkgs,
|
|
|
|
firefox,
|
|
|
|
...
|
|
|
|
}: {
|
2022-01-18 13:12:43 +00:00
|
|
|
programs.firefox = {
|
2023-10-10 08:14:59 +00:00
|
|
|
package = firefox.packages.${pkgs.system}.firefox-nightly-bin;
|
2022-01-18 13:12:43 +00:00
|
|
|
enable = true;
|
2022-03-11 19:29:05 +00:00
|
|
|
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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
'';
|
2022-06-13 09:12:58 +00:00
|
|
|
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";
|
|
|
|
};
|
2022-03-11 19:29:05 +00:00
|
|
|
id = 0;
|
2023-02-07 19:15:10 +00:00
|
|
|
extensions = with pkgs.nur.repos.rycee.firefox-addons; [
|
|
|
|
clearurls
|
|
|
|
consent-o-matic
|
|
|
|
darkreader
|
|
|
|
decentraleyes
|
|
|
|
don-t-fuck-with-paste
|
|
|
|
keepassxc-browser
|
|
|
|
privacy-badger
|
|
|
|
privacy-possum
|
2023-06-22 06:48:41 +00:00
|
|
|
sponsorblock
|
2023-02-07 19:15:10 +00:00
|
|
|
stylus
|
|
|
|
tree-style-tab
|
|
|
|
ublock-origin
|
|
|
|
umatrix
|
|
|
|
unpaywall
|
|
|
|
plasma-integration
|
|
|
|
tampermonkey
|
|
|
|
];
|
2022-03-11 19:29:05 +00:00
|
|
|
};
|
|
|
|
};
|
2022-01-18 13:12:43 +00:00
|
|
|
};
|
2022-01-19 08:28:39 +00:00
|
|
|
}
|