pub-solar-os/profiles/games/default.nix
2020-06-14 12:30:01 -06:00

26 lines
621 B
Nix

{ unstablePkgs, ... }: {
imports = [ ../graphical ./udev.nix ];
environment.systemPackages = with unstablePkgs; [
retroarchBare
steam
steam-run
pcsx2
qjoypad
];
# fps games on laptop need this
services.xserver.libinput.disableWhileTyping = false;
# 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"; };
}