{
  pkgs,
  inputs,
  ...
}: {
  home.packages = with pkgs; [
    matugen
    psmisc # for killall
  ];
  home.file.".config/matugen/config.toml" = {
    source = ./config.toml;
  };

  home.file.".config/matugen/templates" = {
    source = ./templates;
    recursive = true;
  };

  # Qt theming - follow GTK theme
  qt = {
    enable = true;
    platformTheme.name = "gtk";
  };

  # GTK theming with adw-gtk3 and Matugen colors
  gtk = {
    enable = true;
    theme = {
      name = "adw-gtk3-dark";
      package = pkgs.adw-gtk3;
    };
    iconTheme = {
      name = "Papirus-Dark";
      package = pkgs.papirus-icon-theme;
    };
    gtk3.extraCss = ''@import url("colors.css");'';
    gtk4.extraCss = ''@import url("colors.css");'';
  };

  programs.ghostty.settings.theme = "matugen";
  programs.starship.enable = true;
  wayland.windowManager.hyprland.settings.source = ["./matugen.conf"];
  programs.walker.config.theme = "nixos";
}
