summaryrefslogtreecommitdiff
path: root/os/cez
diff options
context:
space:
mode:
authorsinanmohd <sinan@sinanmohd.com>2024-08-27 19:23:10 +0530
committersinanmohd <sinan@sinanmohd.com>2024-08-27 19:23:10 +0530
commit79bab8849f068633e80d7308d61c7c7328c2812c (patch)
tree814281c878f82ca08b31ea10deaf375e62685712 /os/cez
parentb543cf800669bfcb69608f242628729e438cbd0e (diff)
cez: switch to zenpower for cpu stats
Diffstat (limited to 'os/cez')
-rw-r--r--os/cez/hardware-configuration.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/os/cez/hardware-configuration.nix b/os/cez/hardware-configuration.nix
index 0cb3b73..e80ac86 100644
--- a/os/cez/hardware-configuration.nix
+++ b/os/cez/hardware-configuration.nix
@@ -1,4 +1,4 @@
-{ modulesPath, nixos-hardware, lib, ... }:
+{ modulesPath, nixos-hardware, config, lib, ... }:
{
imports = [
@@ -35,6 +35,9 @@
boot = {
loader.systemd-boot.enable = true;
+ blacklistedKernelModules = [ "k10temp" ];
+ extraModulePackages = with config.boot.kernelPackages; [ zenpower ];
+
initrd = {
systemd.enable = true;