mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2025-11-08 10:58:37 +08:00
cpu/amd/zenpower: new
The zenpower module provides much more detailed data than k10temp on Zen CPUs. Use it.
This commit is contained in:
10
common/cpu/amd/zenpower.nix
Normal file
10
common/cpu/amd/zenpower.nix
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
{ lib, config, ... }:
|
||||||
|
{
|
||||||
|
# Enables the zenpower sensor in lieu of the k10temp sensor on Zen CPUs https://git.exozy.me/a/zenpower3
|
||||||
|
# On Zen CPUs zenpower produces much more data entries
|
||||||
|
|
||||||
|
imports = [ ./. ];
|
||||||
|
boot.blacklistedKernelModules = [ "k10temp" ];
|
||||||
|
boot.extraModulePackages = [ config.boot.kernelPackages.zenpower ];
|
||||||
|
boot.kernelModules = [ "zenpower" ];
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user