blob: 56ef77d31ef24a3cd63321357c3c5ae84cfca557 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
{ config, lib, pkgs, ... }:
with lib;
{
options.hardware.wooting.enable = mkEnableOption ''support for Wooting keyboards.
Note that users must be in the "input" group for udev rules to apply'';
config = mkIf config.hardware.wooting.enable {
environment.systemPackages = [ pkgs.wootility ];
services.udev.packages = [ pkgs.wooting-udev-rules ];
};
}
|