From 36f3d3b66bb81fdc3090ef96bb7d775f66e0bcf0 Mon Sep 17 00:00:00 2001 From: Nettika Date: Fri, 27 Dec 2024 00:48:49 -0800 Subject: [PATCH] Update hardware settings on marauder --- hosts/marauder/default.nix | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/hosts/marauder/default.nix b/hosts/marauder/default.nix index 79b05a5..08ed790 100755 --- a/hosts/marauder/default.nix +++ b/hosts/marauder/default.nix @@ -48,18 +48,21 @@ hardware = { enableRedistributableFirmware = true; cpu.amd.updateMicrocode = true; - opengl = { + graphics = { enable = true; - driSupport32Bit = true; + enable32Bit = true; extraPackages = [ pkgs.vaapiVdpau ]; }; - nvidia.prime = { - offload = { - enable = true; - enableOffloadCmd = true; + nvidia = { + open = true; + prime = { + offload = { + enable = true; + enableOffloadCmd = true; + }; + amdgpuBusId = "PCI:05:00:0"; + nvidiaBusId = "PCI:01:00:0"; }; - amdgpuBusId = "PCI:05:00:0"; - nvidiaBusId = "PCI:01:00:0"; }; };