starlight: fix opencl

This commit is contained in:
Artemis Tosini 2024-07-05 23:23:38 +00:00
parent 804b5348f2
commit c65b4d49d6
Signed by: artemist
SSH key fingerprint: SHA256:EsuWCwx6fjxxExxf65rX+ocQJJAdw4R1KarpFue6Uwc

View file

@ -24,7 +24,6 @@
../../sets/virtualization.nix ../../sets/virtualization.nix
../../sets/workstation.nix ../../sets/workstation.nix
inputs.nixos-hardware.nixosModules.common-cpu-amd inputs.nixos-hardware.nixosModules.common-cpu-amd
inputs.nixos-hardware.nixosModules.common-gpu-amd
inputs.private.nixosModules.starlight inputs.private.nixosModules.starlight
]; ];
@ -88,6 +87,12 @@
}; };
# Packages # Packages
hardware.amdgpu = {
initrd.enable = true;
opencl.enable = true;
};
boot.binfmt.emulatedSystems = [ "aarch64-linux" ]; boot.binfmt.emulatedSystems = [ "aarch64-linux" ];
services.printing.drivers = [ services.printing.drivers = [