summary refs log tree commit diff
path: root/nixos/modules/services/monitoring/hdaps.nix
diff options
context:
space:
mode:
authorRyan Mulligan <ryan@ryantm.com>2019-03-07 23:50:02 -0800
committerDanylo Hlynskyi <abcz2.uprola@gmail.com>2019-03-08 09:50:02 +0200
commit18f6dbe6bee15102360cf1188f0eefb26ddbc37b (patch)
treee55a7d51988f8ace6d66870e4fbc93fbf460ba0e /nixos/modules/services/monitoring/hdaps.nix
parent32214c25d4936611813f55e172ccba2d7e9f225b (diff)
downloadnixpkgs-18f6dbe6bee15102360cf1188f0eefb26ddbc37b.tar
nixpkgs-18f6dbe6bee15102360cf1188f0eefb26ddbc37b.tar.gz
nixpkgs-18f6dbe6bee15102360cf1188f0eefb26ddbc37b.tar.bz2
nixpkgs-18f6dbe6bee15102360cf1188f0eefb26ddbc37b.tar.lz
nixpkgs-18f6dbe6bee15102360cf1188f0eefb26ddbc37b.tar.xz
nixpkgs-18f6dbe6bee15102360cf1188f0eefb26ddbc37b.tar.zst
nixpkgs-18f6dbe6bee15102360cf1188f0eefb26ddbc37b.zip
nixos/hdaps: automatically enable the hdapsd kernel module (#56309)
patch by hpoussin via
https://discourse.nixos.org/t/hdapsd-automatically-enable-the-hdapsd-kernel-module/2183
Diffstat (limited to 'nixos/modules/services/monitoring/hdaps.nix')
-rw-r--r--nixos/modules/services/monitoring/hdaps.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/services/monitoring/hdaps.nix b/nixos/modules/services/monitoring/hdaps.nix
index be26c44e78d..2cad3b84d84 100644
--- a/nixos/modules/services/monitoring/hdaps.nix
+++ b/nixos/modules/services/monitoring/hdaps.nix
@@ -16,6 +16,7 @@ in
   };
 
   config = mkIf cfg.enable {
+    boot.kernelModules = [ "hdapsd" ];
     services.udev.packages = hdapsd;
     systemd.packages = hdapsd;
   };