amdgpu: fix foldingathome (at last!)

This commit is contained in:
Jez Cope 2021-04-26 17:05:14 +01:00
parent d3162fcdd2
commit ed779ee31a
1 changed files with 9 additions and 1 deletions

View File

@ -3,9 +3,17 @@
{
boot.initrd.kernelModules = [ "amdgpu" ];
services.xserver.videoDrivers = [ "amdgpu" ];
hardware.opengl.driSupport = true;
hardware.opengl.extraPackages = with pkgs; [
rocm-opencl-icd
rocm-opencl-runtime
amdvlk
clang_11
];
hardware.opengl.extraPackages32 = with pkgs.pkgsi686Linux; [ amdvlk ];
nixpkgs.config.packageOverrides = pkgs: {
fahclient = pkgs.fahclient.override {
extraPkgs = with pkgs; [ rocm-opencl-icd rocm-opencl-runtime ];
};
};
}