From afd3113cf30205c34a2f30dfbc6ce12d0489b0ef Mon Sep 17 00:00:00 2001 From: aaron Date: Thu, 5 Mar 2026 21:50:46 +0100 Subject: [PATCH] feature(graphics): add amdgpu to the initrd --- modules/nixos/graphics.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/nixos/graphics.nix b/modules/nixos/graphics.nix index 4eb9fa5..cfa9407 100644 --- a/modules/nixos/graphics.nix +++ b/modules/nixos/graphics.nix @@ -5,5 +5,10 @@ hardware.graphics = { enable = true; enable32Bit = true; + extraPackages = with pkgs; [ + ]; }; + + # sets boot.initrd.kernelModules = amdgpu + hardware.amdgpu.initrd.enable = true; }