1 { config, lib, pkgs, ... }:
3 options.hardware.wooting.enable = lib.mkEnableOption ''support for Wooting keyboards.
4 Note that users must be in the "input" group for udev rules to apply'';
6 config = lib.mkIf config.hardware.wooting.enable {
7 environment.systemPackages = [ pkgs.wootility ];
8 services.udev.packages = [ pkgs.wooting-udev-rules ];