diff --git a/system/Vanguard.nix b/system/Vanguard.nix index 88456e0b..edd987c3 100644 --- a/system/Vanguard.nix +++ b/system/Vanguard.nix @@ -6,6 +6,7 @@ }: { imports = [ ./desktop.nix ]; + nixpkgs.config.rocmSupport = true; environment.sessionVariables.MANGOHUD = 1; home-manager.users.${username} = { home.packages = with pkgs; [ @@ -58,7 +59,10 @@ ''; }; hardware = { - amdgpu.initrd.enable = true; + amdgpu = { + initrd.enable = true; + opencl.enable = true; + }; opengl = { enable = true; driSupport = true;