at 23.05-pre 315 B view raw
1{ config, lib, pkgs, ... }: 2 3with lib; 4let 5 cfg = config.hardware.keyboard.teck; 6in 7{ 8 options.hardware.keyboard.teck = { 9 enable = mkEnableOption (lib.mdDoc "non-root access to the firmware of TECK keyboards"); 10 }; 11 12 config = mkIf cfg.enable { 13 services.udev.packages = [ pkgs.teck-udev-rules ]; 14 }; 15} 16