nixos-config/hardware/steam.nix

18 lines
468 B
Nix
Raw Normal View History

2021-03-04 14:45:54 +01:00
{ config, pkgs, ... }:
{
hardware.opengl = {
# this fixes the "glXChooseVisual failed" bug, context: https://github.com/NixOS/nixpkgs/issues/47932
enable = true;
driSupport = true;
driSupport32Bit = true;
};
# optionally enable 32bit pulseaudio support if pulseaudio is enabled
hardware.pulseaudio.support32Bit = config.hardware.pulseaudio.enable;
2021-10-29 20:29:55 +02:00
hardware.steam-hardware.enable = true;
2023-05-31 17:29:07 +02:00
programs.steam.gamescopeSession.enable = true;
2021-03-04 14:45:54 +01:00
}