Skyler Grey | 2bd017d | 2023-02-18 18:15:04 +0000 | [diff] [blame] | 1 | { pkgs, ... }: { |
2 | config = { | ||||
3 | boot.initrd.kernelModules = [ "radeon" "amdgpu" ]; | ||||
4 | services.xserver.videoDrivers = [ "radeon" "amdgpu" "modesetting" "fbdev" ]; | ||||
5 | systemd.tmpfiles.rules = [ | ||||
6 | "L+ /opt/rocm/hip - - - - ${pkgs.hip}" | ||||
7 | ]; | ||||
8 | hardware.opengl.driSupport = true; | ||||
9 | hardware.opengl.driSupport32Bit = true; | ||||
10 | services.hardware.bolt.enable = true; | ||||
11 | }; | ||||
12 | } |