devos/profiles/games/default.nix
2019-12-26 00:17:26 -07:00

21 lines
537 B
Nix

{ pkgs, ... }:
{
imports = [ ../graphical ./udev.nix ];
environment.systemPackages = with pkgs;
[ retroarchBare steam steam-run ];
# 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;
# better for steam proton games
systemd.extraConfig = "DefaultLimitNOFILE=1048576";
# improve wine performance
environment.sessionVariables = {
WINEDEBUG = "-all";
};
}