From a5472c567a81dd9edb8f5d278713bb71e76e4c93 Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Mon, 27 Apr 2026 10:40:23 +0200 Subject: [PATCH] feat(amd): latest kernel ryzen kernel module --- systems/x86_64-linux/amd/hardware-configuration.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/systems/x86_64-linux/amd/hardware-configuration.nix b/systems/x86_64-linux/amd/hardware-configuration.nix index 0475e14..216eb61 100644 --- a/systems/x86_64-linux/amd/hardware-configuration.nix +++ b/systems/x86_64-linux/amd/hardware-configuration.nix @@ -4,6 +4,7 @@ { config, lib, + pkgs, modulesPath, ... }: @@ -13,6 +14,8 @@ (modulesPath + "/installer/scan/not-detected.nix") ]; + boot.kernelPackages = lib.mkOverride 0 pkgs.linuxPackages_latest; + boot.initrd.availableKernelModules = [ "nvme" "ahci" @@ -23,8 +26,8 @@ "sd_mod" ]; boot.initrd.kernelModules = [ ]; - boot.kernelModules = [ "kvm-amd" ]; - boot.extraModulePackages = [ ]; + boot.kernelModules = [ "kvm-amd" "ryzen_smu" ]; + boot.extraModulePackages = [ config.boot.kernelPackages.ryzen-smu ]; boot.kernelParams = [ "lockdown=confidentiality"