3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/nixos/modules/hardware/keyboard/teck.nix
2021-04-20 09:10:43 +02:00

17 lines
303 B
Nix

{ config, lib, pkgs, ... }:
with lib;
let
cfg = config.hardware.keyboard.teck;
in
{
options.hardware.keyboard.teck = {
enable = mkEnableOption "non-root access to the firmware of TECK keyboards";
};
config = mkIf cfg.enable {
services.udev.packages = [ pkgs.teck-udev-rules ];
};
}