dotfiles/modules/applications/firefox.nix

20 lines
421 B
Nix
Raw Normal View History

{ config, pkgs, lib, ... }:
2022-04-28 22:55:15 +00:00
{
config = lib.mkIf config.gui.enable {
home-manager.users.${config.user} = {
2022-04-29 03:04:48 +00:00
home.packages = [ pkgs.firefox ];
gtk = {
enable = true;
theme = { name = config.gui.gtkTheme; };
2022-04-29 03:04:48 +00:00
};
};
2022-04-29 01:56:21 +00:00
# Required for setting GTK theme (for preferred-color-scheme in browser)
services.dbus.packages = [ pkgs.dconf ];
programs.dconf.enable = true;
2022-04-29 03:04:48 +00:00
2022-04-29 01:56:21 +00:00
};
2022-04-28 22:55:15 +00:00
}