nixos/modules/desktop/browsers/firefox/default.nix
2023-07-31 17:28:20 +03:00

23 lines
507 B
Nix

{ options, config, lib, pkgs, ...}:
with lib;
let
cfg = config.modules.desktop.browsers.firefox;
in
{
options.modules.desktop.browsers.firefox = {
enable = mkEnableOption false;
};
# TODO add this
# https://github.com/Dook97/firefox-qutebrowser-userchrome
config = mkIf cfg.enable {
programs.firefox = {
enable = true;
preferences = {
"toolkit.legacyUserProfileCustomizations.stylesheets" = true;
"browser.compactmode.show" = true;
};
};
};
}