2021-10-28 06:52:43 +00:00
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
|
|
|
|
with lib;
|
|
|
|
|
|
|
|
let
|
|
|
|
cfg = config.hardware.gkraken;
|
|
|
|
in
|
|
|
|
{
|
|
|
|
options.hardware.gkraken = {
|
2024-04-21 15:54:59 +00:00
|
|
|
enable = mkEnableOption "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
|
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|