159e378cbb
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
10 lines
366 B
Nix
10 lines
366 B
Nix
{ config, lib, pkgs, ... }:
|
|
{
|
|
options.hardware.wooting.enable = lib.mkEnableOption ''support for Wooting keyboards.
|
|
Note that users must be in the "input" group for udev rules to apply'';
|
|
|
|
config = lib.mkIf config.hardware.wooting.enable {
|
|
environment.systemPackages = [ pkgs.wootility ];
|
|
services.udev.packages = [ pkgs.wooting-udev-rules ];
|
|
};
|
|
}
|