2020-06-14 21:30:01 +03:00
|
|
|
{ unstablePkgs, ... }: {
|
2020-06-18 05:14:37 +03:00
|
|
|
imports = [ ../graphical ./udev.nix ];
|
2020-06-14 21:30:01 +03:00
|
|
|
environment.systemPackages = with unstablePkgs; [
|
|
|
|
retroarchBare
|
|
|
|
steam
|
|
|
|
steam-run
|
|
|
|
pcsx2
|
|
|
|
qjoypad
|
|
|
|
];
|
2019-12-26 10:17:26 +03:00
|
|
|
|
2020-06-17 05:52:14 +03:00
|
|
|
services.wii-u-gc-adapter.enable = true;
|
|
|
|
|
2020-06-18 05:14:37 +03:00
|
|
|
services.gamemode.enable = true;
|
|
|
|
|
2019-12-26 10:17:26 +03: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;
|
|
|
|
|
2020-06-14 21:30:01 +03:00
|
|
|
hardware.steam-hardware.enable = true;
|
|
|
|
|
2019-12-26 10:17:26 +03:00
|
|
|
# better for steam proton games
|
|
|
|
systemd.extraConfig = "DefaultLimitNOFILE=1048576";
|
|
|
|
|
|
|
|
# improve wine performance
|
2020-01-04 08:06:31 +03:00
|
|
|
environment.sessionVariables = { WINEDEBUG = "-all"; };
|
2019-12-26 10:17:26 +03:00
|
|
|
}
|