nixos/wooting: add hardware.wooting module

Signed-off-by: David Wood <david.wood@codeplay.com>
This commit is contained in:
David Wood 2019-12-19 12:29:20 +00:00
parent 47d402e4f7
commit 33f4d93e03
No known key found for this signature in database
GPG Key ID: 2592E76C87381FD9
2 changed files with 13 additions and 0 deletions

View File

@ -0,0 +1,12 @@
{ config, lib, pkgs, ... }:
with lib;
{
options.hardware.wooting.enable =
mkEnableOption "Enable support for Wooting keyboards";
config = mkIf config.hardware.wooting.enable {
environment.systemPackages = [ pkgs.wootility ];
services.udev.packages = [ pkgs.wooting-udev-rules ];
};
}

View File

@ -63,6 +63,7 @@
./hardware/steam-hardware.nix
./hardware/usb-wwan.nix
./hardware/onlykey.nix
./hardware/wooting.nix
./hardware/video/amdgpu.nix
./hardware/video/amdgpu-pro.nix
./hardware/video/ati.nix