mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-11-26 21:09:42 +01:00
commit
1a1fa391d5
2 changed files with 11 additions and 0 deletions
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" ];
|
||||
}
|
|
@ -242,6 +242,7 @@
|
|||
|
||||
common-cpu-amd = import ./common/cpu/amd;
|
||||
common-cpu-amd-pstate = import ./common/cpu/amd/pstate.nix;
|
||||
common-cpu-amd-zenpower = import ./common/cpu/amd/zenpower.nix;
|
||||
common-cpu-amd-raphael-igpu = import ./common/cpu/amd/raphael/igpu.nix;
|
||||
common-cpu-intel = import ./common/cpu/intel;
|
||||
common-cpu-intel-comet-lake = import ./common/cpu/intel/comet-lake;
|
||||
|
|
Loading…
Reference in a new issue