From 79bab8849f068633e80d7308d61c7c7328c2812c Mon Sep 17 00:00:00 2001 From: sinanmohd Date: Tue, 27 Aug 2024 19:23:10 +0530 Subject: cez: switch to zenpower for cpu stats --- os/cez/hardware-configuration.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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; -- cgit v1.2.3