mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 17:33:09 +00:00
13 lines
309 B
Nix
13 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 ];
|
|
};
|
|
}
|