From 075cc349b1bd36c4f104b34975fbb4906ce163b8 Mon Sep 17 00:00:00 2001 From: "Gustavo \"Guz\" L. de Mello" Date: Sat, 4 May 2024 10:38:18 -0300 Subject: [PATCH] feat: add amd drivers just in case --- hosts/battleship/configuration.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/hosts/battleship/configuration.nix b/hosts/battleship/configuration.nix index c1cb848..35265c5 100644 --- a/hosts/battleship/configuration.nix +++ b/hosts/battleship/configuration.nix @@ -31,6 +31,15 @@ sddm.wayland.enable = true; }; + services.xserver.videoDrivers = ["amdgpu"]; + boot.kernelModules = ["amdgpu"]; + environment.variables = { + ROC_ENABLE_PRE_VEGA = "1"; + }; + hardware.opengl.extraPackages = with pkgs; [ + rocmPackages.clr.icd + ]; + programs.steam.enable = false; programs.gnupg.agent = {