From 88e55cbd3a6ebd46d583cfc992481c816b792f22 Mon Sep 17 00:00:00 2001 From: Daniel Flanagan Date: Mon, 2 Dec 2024 17:01:30 -0600 Subject: [PATCH] AMDGPU? --- flake.nix | 2 +- nixos/dragon.nix | 8 ++++++++ nixos/foxtrot.nix | 9 +++++++++ 3 files changed, 18 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index 203ec7b..4802196 100644 --- a/flake.nix +++ b/flake.nix @@ -183,7 +183,7 @@ nodejs wget sudo - nixFlakes + nixVersions.stable cacert gnutar gzip diff --git a/nixos/dragon.nix b/nixos/dragon.nix index c7cf1d7..ebf47d4 100644 --- a/nixos/dragon.nix +++ b/nixos/dragon.nix @@ -31,6 +31,14 @@ }; } ]; + hardware.amdgpu = { + amdvlk = { + enable = true; + support32Bit = { + enable = true; + }; + }; + }; hardware.graphics.extraPackages = [ # pkgs.rocmPackages.clr.icd pkgs.amdvlk diff --git a/nixos/foxtrot.nix b/nixos/foxtrot.nix index 794141a..4613503 100644 --- a/nixos/foxtrot.nix +++ b/nixos/foxtrot.nix @@ -343,6 +343,15 @@ in pkgs.vaapiVdpau ]; + hardware.amdgpu = { + amdvlk = { + enable = true; + support32Bit = { + enable = true; + }; + }; + }; + networking.networkmanager.wifi.powersave = false; hardware.framework.amd-7040.preventWakeOnAC = true;