Merge pull request #75940 from davidtwco/wooting-init

wooting: init wootility, wooting-udev-rules and module
This commit is contained in:
Matthew Bauer
2020-03-22 02:03:52 -04:00
committed by GitHub
6 changed files with 81 additions and 0 deletions
+12
View File
@@ -0,0 +1,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 ];
};
}