From caa0ae4fe2a3c03e098d082c0f719ea647412c63 Mon Sep 17 00:00:00 2001 From: Pedro Rey Anca Date: Mon, 9 Jun 2025 12:00:31 +0200 Subject: [PATCH] Add some AMD GPU stuff --- hosts/frues-pc/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hosts/frues-pc/default.nix b/hosts/frues-pc/default.nix index 9197a0e..04af35d 100644 --- a/hosts/frues-pc/default.nix +++ b/hosts/frues-pc/default.nix @@ -16,12 +16,15 @@ boot.loader.efi.efiSysMountPoint = "/boot/efi"; +# https://nixos.wiki/wiki/AMD_GPU boot.initrd.kernelModules = ["amdgpu"]; services.xserver.videoDrivers = ["amdgpu"]; hardware.graphics.extraPackages = with pkgs; [ rocmPackages.clr.icd amdvlk +driversi686Linux.amdvlk ]; +hardware.graphics.enable32Bit = true; # For 32 bit applications # It is an open-source implementation of Nvidia’s Moonlight game streaming application services.sunshine = {