pub-solar-os/profiles/games/default.nix

18 lines
527 B
Nix
Raw Normal View History

2020-01-04 05:06:31 +00:00
{ pkgs, ... }: {
2019-12-26 07:17:26 +00:00
imports = [ ../graphical ./udev.nix ];
2020-01-04 05:06:31 +00:00
environment.systemPackages = with pkgs; [ retroarchBare steam steam-run ];
2019-12-26 07:17:26 +00:00
# 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
2020-01-04 05:06:31 +00:00
environment.sessionVariables = { WINEDEBUG = "-all"; };
2019-12-26 07:17:26 +00:00
}