nixpkgs-suyu/nixos/modules/hardware/wooting.nix
2022-11-10 09:30:00 +01:00

12 lines
309 B
Nix

{ config, lib, pkgs, ... }:
with lib;
{
options.hardware.wooting.enable =
mkEnableOption (lib.mdDoc "support for Wooting keyboards");
config = mkIf config.hardware.wooting.enable {
environment.systemPackages = [ pkgs.wootility ];
services.udev.packages = [ pkgs.wooting-udev-rules ];
};
}