mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 07:23:20 +00:00
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
Block a user