19 lines
312 B
Nix
19 lines
312 B
Nix
{ pkgs, ... }: {
|
|
imports = [ ./hardware-configuration.nix ];
|
|
|
|
hardware.opengl = {
|
|
enable = true;
|
|
driSupport = true;
|
|
driSupport32Bit = true;
|
|
|
|
extraPackages = with pkgs; [
|
|
rocm-opencl-icd
|
|
amdvlk
|
|
];
|
|
|
|
extraPackages32 = with pkgs; [
|
|
driversi686Linux.amdvlk
|
|
];
|
|
};
|
|
}
|