aboutsummaryrefslogtreecommitdiff
path: root/systems/x86_64-linux/c-pc
diff options
context:
space:
mode:
authorCaroline Larimore <caroline@larimo.re>2025-11-24 14:43:52 -0800
committerCaroline Larimore <caroline@larimo.re>2025-11-24 14:43:52 -0800
commitd644cfcdd79546dcb5a4a35f0b6f0ef0d710a8e2 (patch)
tree3e03d3971b9f1c8224463d153f26fc0c04a85c31 /systems/x86_64-linux/c-pc
parentdd4e5f1bd57b96d333903466f70f15c116df20a3 (diff)
c-pc: enable opencl
Diffstat (limited to 'systems/x86_64-linux/c-pc')
-rw-r--r--systems/x86_64-linux/c-pc/hardware.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/systems/x86_64-linux/c-pc/hardware.nix b/systems/x86_64-linux/c-pc/hardware.nix
index 287de97..9532e22 100644
--- a/systems/x86_64-linux/c-pc/hardware.nix
+++ b/systems/x86_64-linux/c-pc/hardware.nix
@@ -52,6 +52,8 @@
hardware.enableRedistributableFirmware = true;
hardware.cpu.amd.updateMicrocode = true;
+ hardware.amdgpu.opencl.enable = true;
+
services = {
xserver.videoDrivers = [ "amdgpu" ];