Add kernel module option to make amd-pstate work
This commit is contained in:
parent
8ee11574f6
commit
e4255b7ddb
1 changed files with 3 additions and 0 deletions
|
@ -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";
|
||||||
|
|
Loading…
Reference in a new issue