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:
parent
32214c25d4
commit
18f6dbe6be
|
@ -16,6 +16,7 @@ in
|
|||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
boot.kernelModules = [ "hdapsd" ];
|
||||
services.udev.packages = hdapsd;
|
||||
systemd.packages = hdapsd;
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue