summary refs log blame commit diff
path: root/nixos/modules/hardware/wooting.nix
blob: ee550cbbf6b83a5106ef3c6d36d54e2cc945132c (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12











                                                          
{ config, lib, pkgs, ... }:

with lib;
{
  options.hardware.wooting.enable =
    mkEnableOption "Enable support for Wooting keyboards";

  config = mkIf config.hardware.wooting.enable {
    environment.systemPackages = [ pkgs.wootility ];
    services.udev.packages = [ pkgs.wooting-udev-rules ];
  };
}