Nix configurations for my personal machines (Linux & macOS)

enable amdgpu initrd and opencl

ovyerus.com cf995f67 9358d849

verified
Changed files
+4 -1
modules
+4 -1
modules/graphics.nix
···
enable = true;
enable32Bit = true;
};
environment.systemPackages = with pkgs; [amdgpu_top lact nvtopPackages.full];
-
environment.sessionVariables.KWIN_DRM_NO_AMS = "1";
systemd.services.lactd = {
description = "AMDGPU Control Daemon";
···
enable = true;
enable32Bit = true;
};
+
hardware.amdgpu = {
+
initrd.enable = true;
+
opencl.enable = true;
+
};
environment.systemPackages = with pkgs; [amdgpu_top lact nvtopPackages.full];
systemd.services.lactd = {
description = "AMDGPU Control Daemon";