14 lines
376 B
Nix
14 lines
376 B
Nix
{ 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;
|
|
}
|