159e378cbb
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
15 lines
294 B
Nix
15 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
|
|
];
|
|
};
|
|
}
|