Enable GTK theme on Wayland

This commit is contained in:
Daniel Thwaites 2021-07-28 15:08:20 +01:00
parent 5f953fa783
commit de589f60cd
No known key found for this signature in database
GPG key ID: D8AFC4BF05670F9D

View file

@ -151,8 +151,8 @@ let
name = "Materia-compact"; name = "Materia-compact";
}; };
# GTK will probably be unused without Xserver # GTK will probably be unused without Xorg / Wayland
in lib.mkIf config.services.xserver.enable { in lib.mkIf (config.services.xserver.enable || config.programs.sway.enable) {
# Required for Home Manager's GTK settings to work # Required for Home Manager's GTK settings to work
services.dbus.packages = [ pkgs.gnome3.dconf ]; services.dbus.packages = [ pkgs.gnome3.dconf ];