From 18f6dbe6bee15102360cf1188f0eefb26ddbc37b Mon Sep 17 00:00:00 2001 From: Ryan Mulligan Date: Thu, 7 Mar 2019 23:50:02 -0800 Subject: [PATCH] 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 --- nixos/modules/services/monitoring/hdaps.nix | 1 + 1 file changed, 1 insertion(+) 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; };