nixos/wooting: add hardware.wooting
module
Signed-off-by: David Wood <david.wood@codeplay.com>
This commit is contained in:
parent
47d402e4f7
commit
33f4d93e03
12
nixos/modules/hardware/wooting.nix
Normal file
12
nixos/modules/hardware/wooting.nix
Normal 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 ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue