b450903751
GitOrigin-RevId: 74a1793c659d09d7cf738005308b1f86c90cb59b
18 lines
310 B
Nix
18 lines
310 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
with lib;
|
|
|
|
let
|
|
cfg = config.hardware.gkraken;
|
|
in
|
|
{
|
|
options.hardware.gkraken = {
|
|
enable = mkEnableOption (lib.mdDoc "gkraken's udev rules for NZXT AIO liquid coolers");
|
|
};
|
|
|
|
config = mkIf cfg.enable {
|
|
services.udev.packages = with pkgs; [
|
|
gkraken
|
|
];
|
|
};
|
|
}
|