1
0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-06-26 06:28:32 +02: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") {