0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-18 16:10:19 +03:00
nixpkgs/nixos/modules/hardware/gkraken.nix

21 lines
302 B
Nix
Raw Normal View History

{
config,
lib,
pkgs,
...
}:
2021-10-03 11:13:19 +02:00
let
cfg = config.hardware.gkraken;
in
{
options.hardware.gkraken = {
enable = lib.mkEnableOption "gkraken's udev rules for NZXT AIO liquid coolers";
2021-10-03 11:13:19 +02:00
};
config = lib.mkIf cfg.enable {
2021-10-03 11:13:19 +02:00
services.udev.packages = with pkgs; [
gkraken
];
};
}