a97b1c8da0
GitOrigin-RevId: d235056d6d6dcbd2999bd55fd120d831d4df6304
16 lines
303 B
Nix
16 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 ];
|
|
};
|
|
}
|
|
|