1 { config, lib, pkgs, ... }:
4 cfg = config.hardware.keyboard.teck;
5 inherit (lib) mkEnableOption mkIf;
9 options.hardware.keyboard.teck = {
10 enable = mkEnableOption "non-root access to the firmware of TECK keyboards";
13 config = mkIf cfg.enable {
14 services.udev.packages = [ pkgs.teck-udev-rules ];