feat(amd): latest kernel ryzen kernel module
This commit is contained in:
parent
9cc17db0d7
commit
a5472c567a
1 changed files with 5 additions and 2 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue