chore: update gpu config

This commit is contained in:
Guz
2025-04-02 14:40:46 -03:00
parent 49a94929e6
commit a04870a342

View File

@@ -1,23 +1,21 @@
{
config,
pkgs,
...
}: {
{pkgs, ...}: {
imports = [];
boot.kernelModules = ["amdgpu"];
boot.initrd.kernelModules = ["amdgpu"];
# services.xserver.enable = true;
services.xserver.videoDrivers = ["amdgpu"];
environment.variables = {
ROC_ENABLE_PRE_VEGA = "1";
};
boot.kernelModules = ["amdgpu"];
boot.initrd.kernelModules = ["amdgpu"];
hardware.graphics.enable = true;
hardware.graphics.enable32Bit = true;
hardware.graphics.extraPackages = with pkgs; [
amdvlk
# OpenCL
rocmPackages.clr.icd
vaapiVdpau
clinfo
];
}