Add kernel module option to make amd-pstate work

This commit is contained in:
Erwin Boskma 2022-10-26 17:12:54 +02:00
parent 8ee11574f6
commit e4255b7ddb
Signed by: erwin
GPG key ID: 270B20D17394F7E5

View file

@ -10,6 +10,9 @@
boot.extraModulePackages = [ ] ++ boot.extraModulePackages = [ ] ++
(with config.boot.kernelPackages; [ rtl88x2bu zenpower ]); (with config.boot.kernelPackages; [ rtl88x2bu zenpower ]);
boot.extraModprobeConfig = ''
options amd-pstate shared_mem=true
'';
fileSystems."/" = { fileSystems."/" = {
device = "/dev/disk/by-uuid/42065c7e-d0aa-4de8-a913-014cf59d48ac"; device = "/dev/disk/by-uuid/42065c7e-d0aa-4de8-a913-014cf59d48ac";