nixpkgs/nixos/modules/hardware/gkraken.nix

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

19 lines
310 B
Nix
Raw Normal View History

2021-10-03 10:13:19 +01:00
{ 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");
2021-10-03 10:13:19 +01:00
};
config = mkIf cfg.enable {
services.udev.packages = with pkgs; [
gkraken
];
};
}