summary refs log tree commit diff
path: root/nixos/modules/hardware/gkraken.nix
blob: 97d15369db0a012bd099e8bce0360b1b76d9fc14 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{ config, lib, pkgs, ... }:

with lib;

let
  cfg = config.hardware.gkraken;
in
{
  options.hardware.gkraken = {
    enable = mkEnableOption "gkraken's udev rules for NZXT AIO liquid coolers";
  };

  config = mkIf cfg.enable {
    services.udev.packages = with pkgs; [
      gkraken
    ];
  };
}