From 1731f5ea7dd7b4623f11b9ee011d323d370bc2a4 Mon Sep 17 00:00:00 2001 From: DuN0z Date: Mon, 13 Oct 2025 13:46:26 +0200 Subject: [PATCH] Add: modules for sensors --- hosts/pennsardin/configuration.nix | 8 +++++++- modules/hardware/gpu-amd.nix | 2 -- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/hosts/pennsardin/configuration.nix b/hosts/pennsardin/configuration.nix index d04905d..9a9717a 100644 --- a/hosts/pennsardin/configuration.nix +++ b/hosts/pennsardin/configuration.nix @@ -1,4 +1,4 @@ -{pkgs, ...}: +{pkgs, config, ...}: let globals = import ../../config/globals.nix; in { @@ -11,8 +11,14 @@ in { networking.hostName = "pennsardin"; boot.kernelPackages = pkgs.linuxPackages_latest; + boot.extraModulePackages = [ config.boot.kernelPackages.nct6687d ]; + boot.kernelModules = [ "nct6683" "k10temp" "i2c-dev" ] ; boot.swraid.enable = true; + environment.systemPackages = with pkgs; [ + lm_sensors + ]; + fileSystems = { "/" = { device = "/dev/disk/by-uuid/b1a1ae71-4277-45d5-a3d2-f49354f263d4"; diff --git a/modules/hardware/gpu-amd.nix b/modules/hardware/gpu-amd.nix index caa4f31..981f849 100644 --- a/modules/hardware/gpu-amd.nix +++ b/modules/hardware/gpu-amd.nix @@ -44,6 +44,4 @@ "radeon.cik_support=0" ]; - # Si un module sonde "k10temp" gĂȘne : - boot.blacklistedKernelModules = ["k10temp"]; }