nixpkgs/nixos/modules/hardware/gkraken.nix

19 lines
298 B
Nix
Raw Normal View History

2021-10-03 11:13:19 +02:00
{ 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
];
};
}