1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-18 03:30:45 +00:00
nixpkgs/nixos/modules/hardware/gkraken.nix
2024-08-30 00:30:37 +02:00

16 lines
294 B
Nix

{ config, lib, pkgs, ... }:
let
cfg = config.hardware.gkraken;
in
{
options.hardware.gkraken = {
enable = lib.mkEnableOption "gkraken's udev rules for NZXT AIO liquid coolers";
};
config = lib.mkIf cfg.enable {
services.udev.packages = with pkgs; [
gkraken
];
};
}