feat: update steam config
This commit is contained in:
parent
82181a8d8b
commit
8bf3bbebd0
4 changed files with 27 additions and 1 deletions
hardware
13
hardware/steam.nix
Normal file
13
hardware/steam.nix
Normal 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;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue