From 83c515d05c3370c47ca4f377f6bea6f3caafdf88 Mon Sep 17 00:00:00 2001 From: Gerg-L Date: Fri, 6 Dec 2024 17:37:48 -0500 Subject: [PATCH] amd graphics settings testing --- hosts/gerg-desktop/main.nix | 30 ++++++++++++++++++------------ 1 file changed, 18 insertions(+), 12 deletions(-) diff --git a/hosts/gerg-desktop/main.nix b/hosts/gerg-desktop/main.nix index 880b7ff..0ada7de 100644 --- a/hosts/gerg-desktop/main.nix +++ b/hosts/gerg-desktop/main.nix @@ -48,6 +48,15 @@ "amdgpu" ]; + hardware.amdgpu = { + amdvlk = { + enable = true; + support32Bit.enable = true; + }; + initrd.enable = true; + opencl.enable = true; + }; + programs = { steam.enable = true; @@ -181,18 +190,15 @@ root.hashedPassword = "!"; }; }; - boot = { - kernelModules = [ "amdgpu" ]; - initrd = { - availableKernelModules = [ - "nvme" - "xhci_pci" - "ahci" - "usbhid" - "sd_mod" - ]; - includeDefaultModules = false; - }; + boot.initrd = { + availableKernelModules = [ + "nvme" + "xhci_pci" + "ahci" + "usbhid" + "sd_mod" + ]; + includeDefaultModules = false; }; system.stateVersion = "24.11";