{ config, pkgs, ... }: let usr = config.constants.userName; in { home-manager.users.${usr} = { config, pkgs, ... }: let xdgCfg = config.xdg; in { home.packages = with pkgs; [ feishin haruna hunspell hunspellDicts.en-us-large jellyfin-mpv-shim joplin-desktop libreoffice-qt6-fresh lutris nvtopPackages.amd picard qbittorrent razergenie ryujinx telegram-desktop thunderbird winetricks wineWowPackages.stagingFull ] ++ (with kdePackages; [ k3b kdepim-addons merkuro # polonium ]); programs = { firefox.enable = true; git.signing = { key = "0x6A815D4CB1637AAC"; signByDefault = 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; plasma.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; }; }; }; i18n.inputMethod = { enable = true; type = "fcitx5"; fcitx5.addons = with pkgs; [ fcitx5-nord fcitx5-rime ]; }; programs = { dconf.enable = true; partition-manager.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" ]; }; }; }