1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-12-26 11:39:44 +01:00
nixos-hardware/common/cpu/amd/zenpower.nix
Mingye Wang 9fe6b53cf0
cpu/amd/zenpower: new
The zenpower module provides much more detailed data than k10temp on Zen CPUs. Use it.
2024-05-11 14:29:46 +08:00

10 lines
370 B
Nix

{ 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" ];
}