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