2021-10-03 10:13:19 +01:00
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
|
|
|
|
with lib;
|
|
|
|
|
|
|
|
let
|
|
|
|
cfg = config.hardware.gkraken;
|
|
|
|
in
|
|
|
|
{
|
|
|
|
options.hardware.gkraken = {
|
2022-08-28 20:18:44 +01:00
|
|
|
enable = mkEnableOption (lib.mdDoc "gkraken's udev rules for NZXT AIO liquid coolers");
|
2021-10-03 10:13:19 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
config = mkIf cfg.enable {
|
|
|
|
services.udev.packages = with pkgs; [
|
|
|
|
gkraken
|
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|