feat(amd): latest kernel ryzen kernel module

This commit is contained in:
Harald Hoyer 2026-04-27 10:40:23 +02:00
parent 9cc17db0d7
commit a5472c567a

View file

@ -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"