devos/profiles/games/default.nix
2020-01-03 22:06:31 -07:00

17 lines
527 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"; };
}