pub-solar-os/profiles/games/default.nix
2020-07-09 00:05:24 -06:00

35 lines
832 B
Nix

{ unstablePkgs, ... }: {
imports = [ ../graphical ./udev.nix ];
environment.systemPackages = with unstablePkgs; [
retroarchBare
steam-run
pcsx2
qjoypad
];
services.wii-u-gc-adapter.enable = true;
services.gamemode.enable = true;
# fps games on laptop need this
services.xserver.libinput.disableWhileTyping = false;
# Launch steam from display managers
services.xserver.windowManager.steam = {
enable = true;
package = unstablePkgs.steam;
};
# 32-bit support needed for steam
hardware.opengl.driSupport32Bit = true;
hardware.pulseaudio.support32Bit = true;
hardware.steam-hardware.enable = true;
# better for steam proton games
systemd.extraConfig = "DefaultLimitNOFILE=1048576";
# improve wine performance
environment.sessionVariables = { WINEDEBUG = "-all"; };
}