20 lines
416 B
Nix
Raw Normal View History

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