{ pkgs, inputs, ... }: let pkgs_unstable = inputs.nixpkgs-unstable.legacyPackages."${pkgs.system}"; in { home.packages = with pkgs;[ # Wine / Proton pkgs_unstable.wineWowPackages.stagingFull pkgs_unstable.winetricks pkgs_unstable.umu-launcher # I'm not sure this actually accomplishes anything, even with PROTON_MEDIA_USE_GST=1 # (umu-launcher.override { # extraPkgs = pkgs: with pkgs.gst_all_1; [ # gstreamer # gst-plugins-base # gst-plugins-good # gst-plugins-bad # gst-plugins-ugly # gst-libav # gst-vaapi # ]; # }) bottles (heroic.override { extraPkgs = pkgs: [ pkgs.gamescope ]; }) # Steam steamguard-cli # Emulators ryubing mgba # Cheat engine scanmem # gamescope wrapper (pkgs.writeShellApplication { name = "gscope"; runtimeInputs = [ pkgs.gamescope ]; text = "gamescope -H 1080 -- \"$@\""; }) # proton with ja_JP (pkgs.writeShellApplication { name = "umu-ja"; runtimeInputs = [ pkgs_unstable.umu-launcher ]; text = "LANG=ja_JP.utf8 umu-run \"$@\""; }) # wine with ja_JP (pkgs.writeShellApplication { name = "wine-ja"; runtimeInputs = [ pkgs_unstable.wineWowPackages.stagingFull ]; text = "LANG=ja_JP.utf8 wine \"$@\""; }) ]; # https://github.com/GloriousEggroll/proton-ge-custom?tab=readme-ov-file#modification # There aren't yet documented in the README: # PROTON_MEDIA_USE_GST=1 will tell proton to use the winegstreamer backend instead of the default winedmo backend (the winedmo backend was introduced in Proton 10 and is the current preferred video playback method). This can be useful for games with videos that may have worked in Proton 9 but regressed in Proton 10. # PROTON_GST_VIDEO_ORIENTATION= can be any of the following: vertical-flip, horizontal-flip, rotate-180, automatic. This is useful if some games have videos that are upside down or otherwise not oriented correctly. # https://simpler-website.pages.dev/html/2021/1/wine-environment-variables/#wineesync home.sessionVariables = { WINEPREFIX = "~/Games/wine/default"; PROTONPATH = "GE-Proton"; PROTON_ENABLE_WAYLAND = "0"; # One day... }; # programs.lutris = { # enable = true; # extraPackages = with pkgs; [ mangohud winetricks gamescope gamemode umu-launcher ]; # protonPackages = [ pkgs.proton-ge-bin ]; # winePackages = [ pkgs.wineWowPackages.staging ]; # }; }