nixpkgs/nixos/modules/hardware/gkraken.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
294 B
Nix
Raw Normal View History

2021-10-03 09:13:19 +00:00
{ config, lib, pkgs, ... }:
let
cfg = config.hardware.gkraken;
in
{
options.hardware.gkraken = {
enable = lib.mkEnableOption "gkraken's udev rules for NZXT AIO liquid coolers";
2021-10-03 09:13:19 +00:00
};
config = lib.mkIf cfg.enable {
2021-10-03 09:13:19 +00:00
services.udev.packages = with pkgs; [
gkraken
];
};
}