diff options
author | Sandro <sandro.jaeckel@gmail.com> | 2021-10-24 18:28:57 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-24 18:28:57 +0200 |
commit | 062469fd09486bf35b1195960efe450b176e8229 (patch) | |
tree | 9d2b77212dc6c942f61b4527b213acc699de264f /nixos/modules/hardware | |
parent | 5274c92d723e80c90ff5de9c2b4e0c178d3bc62f (diff) | |
parent | bfd58f3cf3836274832d6c933d59911b1ab75a8f (diff) | |
download | nixpkgs-062469fd09486bf35b1195960efe450b176e8229.tar nixpkgs-062469fd09486bf35b1195960efe450b176e8229.tar.gz nixpkgs-062469fd09486bf35b1195960efe450b176e8229.tar.bz2 nixpkgs-062469fd09486bf35b1195960efe450b176e8229.tar.lz nixpkgs-062469fd09486bf35b1195960efe450b176e8229.tar.xz nixpkgs-062469fd09486bf35b1195960efe450b176e8229.tar.zst nixpkgs-062469fd09486bf35b1195960efe450b176e8229.zip |
Merge pull request #140309 from OPNA2608/init/gkraken/21.11
Diffstat (limited to 'nixos/modules/hardware')
-rw-r--r-- | nixos/modules/hardware/gkraken.nix | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/nixos/modules/hardware/gkraken.nix b/nixos/modules/hardware/gkraken.nix new file mode 100644 index 00000000000..97d15369db0 --- /dev/null +++ b/nixos/modules/hardware/gkraken.nix @@ -0,0 +1,18 @@ +{ config, lib, pkgs, ... }: + +with lib; + +let + cfg = config.hardware.gkraken; +in +{ + options.hardware.gkraken = { + enable = mkEnableOption "gkraken's udev rules for NZXT AIO liquid coolers"; + }; + + config = mkIf cfg.enable { + services.udev.packages = with pkgs; [ + gkraken + ]; + }; +} |