1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-11-23 11:29:42 +01:00

clarify amd pstate

This commit is contained in:
paki23 2022-07-31 20:13:42 +02:00
parent b183aac0ac
commit 8732fa9eb5
No known key found for this signature in database
GPG key ID: 13160FFB4CEB03F2

View file

@ -1,5 +1,6 @@
{ lib, config, ... }: {
#Enables the amd cpu scaling https://www.kernel.org/doc/html/latest/admin-guide/pm/amd-pstate.html
#On recent AMD cupus this can be more energy efficient
imports = [ ./. ];
boot = lib.mkIf (!lib.versionOlder config.boot.kernelPackages.kernel.version "5.17") {