mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-11-14 15:09:41 +01:00
9fe6b53cf0
The zenpower module provides much more detailed data than k10temp on Zen CPUs. Use it.
10 lines
370 B
Nix
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" ];
|
|
}
|