mirror of
https://gitlab.com/Zaney/zaneyos.git
synced 2024-11-22 14:43:08 +01:00
14 lines
349 B
Nix
14 lines
349 B
Nix
{ pkgs, config, lib, deviceProfile, ... }:
|
|
|
|
lib.mkIf ("${deviceProfile}" == "amd-desktop") {
|
|
# OpenGL
|
|
hardware.opengl = {
|
|
enable = true;
|
|
driSupport = true;
|
|
driSupport32Bit = true;
|
|
## amdvlk: an open-source Vulkan driver from AMD
|
|
extraPackages = [ pkgs.amdvlk ];
|
|
extraPackages32 = [ pkgs.driversi686Linux.amdvlk ];
|
|
};
|
|
}
|