{ lib, inputs, pkgs, ... }: { home = { username = "guanranwang"; homeDirectory = "/home/guanranwang"; stateVersion = "24.05"; }; imports = [ ./theme.nix ./xdg-mime.nix ] ++ lib.filter (x: lib.hasSuffix "default.nix" x) (lib.fileset.toList ./applications); programs = { jq.enable = true; obs-studio.enable = true; ripgrep.enable = true; skim.enable = true; zoxide.enable = true; mangohud.enable = true; }; services = { cliphist.enable = true; udiskie.enable = true; }; home.packages = (with pkgs; [ dconf-editor fastfetch fd file-roller fractal gnome-calculator hyperfine libnotify loupe pwvucontrol seahorse telegram-desktop wl-clipboard osu-lazer-bin prismlauncher ]) ++ (with inputs.self.legacyPackages.${pkgs.stdenv.hostPlatform.system}; [ mumble-git ]); home.sessionVariables = { # https://github.com/ppy/osu-framework/pull/6292 "OSU_SDL3" = "1"; "SDL_VIDEO_DRIVER" = "wayland"; }; }