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, config,
lib, lib,
pkgs,
modulesPath, modulesPath,
... ...
}: }:
@ -13,6 +14,8 @@
(modulesPath + "/installer/scan/not-detected.nix") (modulesPath + "/installer/scan/not-detected.nix")
]; ];
boot.kernelPackages = lib.mkOverride 0 pkgs.linuxPackages_latest;
boot.initrd.availableKernelModules = [ boot.initrd.availableKernelModules = [
"nvme" "nvme"
"ahci" "ahci"
@ -23,8 +26,8 @@
"sd_mod" "sd_mod"
]; ];
boot.initrd.kernelModules = [ ]; boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-amd" ]; boot.kernelModules = [ "kvm-amd" "ryzen_smu" ];
boot.extraModulePackages = [ ]; boot.extraModulePackages = [ config.boot.kernelPackages.ryzen-smu ];
boot.kernelParams = [ boot.kernelParams = [
"lockdown=confidentiality" "lockdown=confidentiality"