587713944a
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
12 lines
369 B
Nix
12 lines
369 B
Nix
{ 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 ];
|
|
};
|
|
}
|