620eecebfb
GitOrigin-RevId: 2deb07f3ac4eeb5de1c12c4ba2911a2eb1f6ed61
18 lines
298 B
Nix
18 lines
298 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
with lib;
|
|
|
|
let
|
|
cfg = config.hardware.gkraken;
|
|
in
|
|
{
|
|
options.hardware.gkraken = {
|
|
enable = mkEnableOption "gkraken's udev rules for NZXT AIO liquid coolers";
|
|
};
|
|
|
|
config = mkIf cfg.enable {
|
|
services.udev.packages = with pkgs; [
|
|
gkraken
|
|
];
|
|
};
|
|
}
|