nixos/wooting: add hardware.wooting module
Signed-off-by: David Wood <david.wood@codeplay.com>
This commit is contained in:
@@ -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 ];
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -63,6 +63,7 @@
|
|||||||
./hardware/steam-hardware.nix
|
./hardware/steam-hardware.nix
|
||||||
./hardware/usb-wwan.nix
|
./hardware/usb-wwan.nix
|
||||||
./hardware/onlykey.nix
|
./hardware/onlykey.nix
|
||||||
|
./hardware/wooting.nix
|
||||||
./hardware/video/amdgpu.nix
|
./hardware/video/amdgpu.nix
|
||||||
./hardware/video/amdgpu-pro.nix
|
./hardware/video/amdgpu-pro.nix
|
||||||
./hardware/video/ati.nix
|
./hardware/video/ati.nix
|
||||||
|
|||||||
Reference in New Issue
Block a user