{ config, ... }: let usr = config.constants.userName; in { home-manager.users.${usr} = { config, pkgs, ... }: let xdgCfg = config.xdg; in { gtk = { enable = true; gtk2.configLocation = "${xdgCfg.configHome}/gtk-2.0/gtkrc"; theme = { name = "Sweet-Dark"; package = pkgs.sweet; }; }; home.packages = with pkgs; [ exactaudiocopy haruna joplin-desktop lutris nvtop-amd picard qbittorrent sweet-nova tauon telegram-desktop thunderbird wallpaper-engine-plasma6-plugin wineWowPackages.waylandFull winetricks yorha-sound-theme # yuzu ] ++ (with kdePackages;[ # polonium qtmultimedia qtwebchannel qtwebengine qtwebsockets ]); programs = { firefox.enable = true; gpg = { enable = true; homedir = "${xdgCfg.dataHome}/gnupg"; }; kitty = { enable = true; settings = { background_opacity = "0.96"; remember_window_size = "no"; }; theme = "Tokyo Night Moon"; }; obs-studio.enable = true; zathura = { enable = true; options = { notification-error-bg = "#1d2021"; notification-error-fg = "#fb4934"; notification-warning-bg = "#1d2021"; notification-warning-fg = "#fabd2f"; notification-bg = "#1d2021"; notification-fg = "#b8bb26"; completion-bg = "#504945"; completion-fg = "#ebdbb2"; completion-group-bg = "#3c3836"; completion-group-fg = "#928374"; completion-highlight-bg = "#83a598"; completion-highlight-fg = "#504945"; index-bg = "#504945"; index-fg = "#ebdbb2"; index-active-bg = "#83a598"; index-active-fg = "#504945"; inputbar-bg = "#1d2021"; inputbar-fg = "#ebdbb2"; statusbar-bg = "#504945"; statusbar-fg = "#ebdbb2"; highlight-color = "#fabd2f"; highlight-active-color = "#fe8019"; default-bg = "#1d2021"; default-fg = "#ebdbb2"; render-loading = "true"; render-loading-bg = "#1d2021"; render-loading-fg = "#ebdbb2"; recolor = "true"; recolor-darkcolor = "#ebdbb2"; recolor-lightcolor = "#1d2021"; recolor-keephue = "true"; }; }; }; services = { easyeffects.enable = true; gpg-agent = { enable = true; pinentryFlavor = "qt"; }; }; }; programs = { dconf.enable = true; steam.enable = true; }; services = { colord.enable = true; xserver = { enable = true; displayManager = { autoLogin.user = usr; sddm = { enable = true; settings.General.GreeterEnvironment = "QT_SCREEN_SCALE_FACTORS=2,QT_FONT_DPI=192"; wayland.enable = true; }; }; desktopManager.plasma6.enable = true; videoDrivers = [ "amdgpu" ]; }; }; }