mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-05 17:56:46 +01:00
33f4d93e03
Signed-off-by: David Wood <david.wood@codeplay.com>
13 lines
304 B
Nix
13 lines
304 B
Nix
{ 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 ];
|
|
};
|
|
}
|