{ 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 feishin haruna jellyfin-mpv-shim joplin-desktop lutris nvtopPackages.amd picard qbittorrent razergenie sweet-nova telegram-desktop thunderbird wallpaper-engine-plasma6-plugin winetricks wineWowPackages.unstableFull 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"; }; mpv.enable = true; obs-studio.enable = true; zathura = { enable = true; options = { completion-bg = "#504945"; completion-fg = "#ebdbb2"; completion-group-bg = "#3c3836"; completion-group-fg = "#928374"; completion-highlight-bg = "#83a598"; completion-highlight-fg = "#504945"; default-bg = "#1d2021"; default-fg = "#ebdbb2"; highlight-active-color = "#fe8019"; highlight-color = "#fabd2f"; index-active-bg = "#83a598"; index-active-fg = "#504945"; index-bg = "#504945"; index-fg = "#ebdbb2"; inputbar-bg = "#1d2021"; inputbar-fg = "#ebdbb2"; notification-bg = "#1d2021"; notification-error-bg = "#1d2021"; notification-error-fg = "#fb4934"; notification-fg = "#b8bb26"; notification-warning-bg = "#1d2021"; notification-warning-fg = "#fabd2f"; recolor = "true"; recolor-darkcolor = "#ebdbb2"; recolor-keephue = "true"; recolor-lightcolor = "#1d2021"; render-loading = "true"; render-loading-bg = "#1d2021"; render-loading-fg = "#ebdbb2"; selection-clipboard = "clipboard"; statusbar-bg = "#504945"; statusbar-fg = "#ebdbb2"; }; }; }; services = { easyeffects.enable = true; gpg-agent = { enable = true; pinentryPackage = pkgs.pinentry-qt; }; }; }; programs = { dconf.enable = true; steam.enable = true; }; services = { colord.enable = true; desktopManager.plasma6.enable = true; displayManager = { autoLogin.user = usr; sddm = { enable = true; wayland.enable = true; }; }; xserver = { enable = true; videoDrivers = [ "amdgpu" ]; }; }; }