{ config, lib, pkgs, ... }: { # enable amd GPU acceleration (mesa, vulkan, egl) hardware.graphics = { enable = true; enable32Bit = true; }; # install amdgpu_top environment.systemPackages = with pkgs; [ amdgpu_top ]; # add amdgpu to the initrd for plymouth hardware.amdgpu.initrd.enable = true; }