nixos-config/config/programs/firefox.nix

45 lines
1 KiB
Nix
Raw Normal View History

2022-06-12 15:39:15 +00:00
{pkgs, ...}: {
2022-01-18 13:12:43 +00:00
programs.firefox = {
2022-04-06 19:11:42 +00:00
package = pkgs.firefox;
2022-01-18 13:12:43 +00:00
enable = true;
extensions = with pkgs.nur.repos.rycee.firefox-addons; [
clearurls
consent-o-matic
darkreader
decentraleyes
don-t-fuck-with-paste
i-dont-care-about-cookies
keepassxc-browser
2022-05-11 12:58:04 +00:00
plasma-integration
privacy-badger
privacy-possum
sponsorblock
stylus
tree-style-tab
ublock-origin
unpaywall
];
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;
}
}
'';
id = 0;
};
};
2022-01-18 13:12:43 +00:00
};
2022-01-19 08:28:39 +00:00
}