feat: update steam config

This commit is contained in:
Felix Schröter 2021-03-04 14:45:54 +01:00
parent 82181a8d8b
commit 8bf3bbebd0
No known key found for this signature in database
GPG key ID: 910ACB9F6BD26F58
4 changed files with 27 additions and 1 deletions
hardware

13
hardware/steam.nix Normal file
View file

@ -0,0 +1,13 @@
{ 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;
}