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