dotfiles/modules/applications/firefox.nix
Noah Masur 417623965e refactor arguments to options
also change theme to colorscheme
2022-05-05 23:02:01 -04:00

20 lines
421 B
Nix

{ config, pkgs, lib, ... }:
{
config = lib.mkIf config.gui.enable {
home-manager.users.${config.user} = {
home.packages = [ pkgs.firefox ];
gtk = {
enable = true;
theme = { name = config.gui.gtkTheme; };
};
};
# Required for setting GTK theme (for preferred-color-scheme in browser)
services.dbus.packages = [ pkgs.dconf ];
programs.dconf.enable = true;
};
}