From 53c2cf1a63ddbf7397661fa18f2e9062d3eaccf3 Mon Sep 17 00:00:00 2001 From: aaron Date: Fri, 6 Mar 2026 18:16:40 +0100 Subject: [PATCH] refactor(graphics): add amdgpu_top to systempackages --- modules/nixos/graphics.nix | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/modules/nixos/graphics.nix b/modules/nixos/graphics.nix index 2f7e1e6..668a0e9 100644 --- a/modules/nixos/graphics.nix +++ b/modules/nixos/graphics.nix @@ -5,11 +5,13 @@ hardware.graphics = { enable = true; enable32Bit = true; - extraPackages = with pkgs; [ - amdgpu_top - ]; }; + + # install amdgpu_top + environment.systemPackages = with pkgs; [ + amdgpu_top + ]; - # sets boot.initrd.kernelModules = amdgpu + # add amdgpu to the initrd for plymouth hardware.amdgpu.initrd.enable = true; }