zaneyos/config/system/amd-opengl.nix

11 lines
185 B
Nix

{ pkgs, config, lib, ... }:
libmkIf (${deviceProfile} == "amd-desktop") {
# OpenGL
hardware.opengl = {
enable = true;
driSupport = true;
driSupport32Bit = true;
};
}