back to stable so i can use davinci
This commit is contained in:
@@ -22,12 +22,23 @@
|
||||
SUBSYSTEM=="usb", ATTR{idVendor}=="04e8", MODE="0666", GROUP="plugdev"
|
||||
'';
|
||||
|
||||
hardware.amdgpu.initrd.enable = true;
|
||||
|
||||
# Opengl and vulkan
|
||||
hardware.graphics = {
|
||||
enable = true;
|
||||
enable32Bit = true;
|
||||
extraPackages = with pkgs; [
|
||||
# This is the most critical package for AMD OpenCL
|
||||
rocmPackages.clr.icd
|
||||
];
|
||||
};
|
||||
|
||||
boot.kernelParams = [
|
||||
"amdgpu.noretry=0"
|
||||
"amdgpu.gpu_recovery=1"
|
||||
];
|
||||
|
||||
# Wake on Lan
|
||||
networking.interfaces.enp5s0.wakeOnLan.enable = true;
|
||||
networking.firewall.enable = false;
|
||||
|
||||
Reference in New Issue
Block a user