2021-10-28 06:52:43 +00:00
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
|
|
|
|
with lib;
|
|
|
|
|
|
|
|
let
|
|
|
|
cfg = config.hardware.gkraken;
|
|
|
|
in
|
|
|
|
{
|
|
|
|
options.hardware.gkraken = {
|
2022-09-09 14:08:57 +00:00
|
|
|
enable = mkEnableOption (lib.mdDoc "gkraken's udev rules for NZXT AIO liquid coolers");
|
2021-10-28 06:52:43 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
config = mkIf cfg.enable {
|
|
|
|
services.udev.packages = with pkgs; [
|
|
|
|
gkraken
|
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|