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
This commit is contained in:
Ryan Mulligan 2019-03-07 23:50:02 -08:00 committed by Danylo Hlynskyi
parent 32214c25d4
commit 18f6dbe6be

View File

@ -16,6 +16,7 @@ in
};
config = mkIf cfg.enable {
boot.kernelModules = [ "hdapsd" ];
services.udev.packages = hdapsd;
systemd.packages = hdapsd;
};