From d8046e9dbb3868d6d6782382c9155e048a710082 Mon Sep 17 00:00:00 2001 From: Felix Schulze Date: Thu, 30 Jan 2025 20:57:06 +0100 Subject: [PATCH] add amd vulkan driver, openssl and ROCM --- configuration.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/configuration.nix b/configuration.nix index 58a7c9b..41db0cd 100644 --- a/configuration.nix +++ b/configuration.nix @@ -14,6 +14,7 @@ boot.loader.efi.canTouchEfiVariables = true; boot.initrd.luks.devices."luks-1728f038-43a6-4e0d-b7dd-19a4c1083605".device = "/dev/disk/by-uuid/1728f038-43a6-4e0d-b7dd-19a4c1083605"; + boot.initrd.kernelModules = [ "amdgpu" ]; boot.kernelPackages = pkgs.linuxPackages_latest; networking.hostName = "wildfire"; # Define your hostname. @@ -28,6 +29,10 @@ #xpadneo.enable = true; steam-hardware.enable = true; opengl.enable = true; + opengl.extraPackages = with pkgs; [ + amdvlk + rocm-opencl-icd + ]; }; # Configure network proxy if necessary @@ -151,6 +156,7 @@ cypress jq swtpm + openssl # Controller linuxConsoleTools # Buildtools