{ pkgs, ... }: let themes = { gtk = { name = "Tokyonight-Dark"; package = pkgs.tokyonight-gtk-theme; }; icons = { name = "Adwaita"; package = pkgs.adwaita-icon-theme; }; cursor = { name = "Simp1e-Tokyo-Night"; package = pkgs.simp1e-cursors; }; }; in { alqueva.system.dconf = { enable = true; luminosity = "dark"; theme = themes.gtk.name; icon.theme = themes.icons.name; cursor = { size = 24; theme = themes.cursor.name; }; }; qt = { enable = true; platformTheme = "qt5ct"; style = "kvantum"; }; systemd.user.tmpfiles.rules = [ "L+ %h/.config/gtk-4.0 - - - - ${themes.gtk.package}/share/themes/${themes.gtk.name}/gtk-4.0" ]; environment.systemPackages = builtins.attrValues (builtins.mapAttrs (_: v: v.package) themes); }