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,
|
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"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue