2020-04-24 23:36:52 +00:00
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
|
|
|
|
with lib;
|
|
|
|
{
|
|
|
|
options.hardware.wooting.enable =
|
2022-09-09 14:08:57 +00:00
|
|
|
mkEnableOption (lib.mdDoc "Enable support for Wooting keyboards");
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
config = mkIf config.hardware.wooting.enable {
|
|
|
|
environment.systemPackages = [ pkgs.wootility ];
|
|
|
|
services.udev.packages = [ pkgs.wooting-udev-rules ];
|
|
|
|
};
|
|
|
|
}
|