From 149737a2a42941ecf2f7ddca49c4e7474cb32e5d Mon Sep 17 00:00:00 2001 From: misuzu Date: Mon, 3 Feb 2020 19:08:45 +0200 Subject: linux: Enable NVME_HWMON This is available for 5.5+ and enables support for NVMe drives temperature reporting --- pkgs/os-specific/linux/kernel/common-config.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/os-specific/linux/kernel/common-config.nix b/pkgs/os-specific/linux/kernel/common-config.nix index 4ce6a37e689c..7ecff5207df8 100644 --- a/pkgs/os-specific/linux/kernel/common-config.nix +++ b/pkgs/os-specific/linux/kernel/common-config.nix @@ -710,6 +710,7 @@ let HWMON = yes; THERMAL_HWMON = yes; # Hardware monitoring support + NVME_HWMON = whenAtLeast "5.5" yes; # NVMe drives temperature reporting UEVENT_HELPER = no; USERFAULTFD = yes; -- cgit 1.4.1