about summary refs log tree commit diff
path: root/nixpkgs/nixos/modules/hardware/gkraken.nix
blob: f427fec0a7ccb4626dd073524408ee1fd9a65aae (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 (lib.mdDoc "gkraken's udev rules for NZXT AIO liquid coolers");
  };

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