nixos/teck: init

This commit is contained in:
Louis Bettens 2021-04-19 13:57:32 +02:00
parent 3c0e1f309f
commit 10d375bde1
2 changed files with 17 additions and 0 deletions

View file

@ -0,0 +1,16 @@
{ 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 ];
};
}

View file

@ -49,6 +49,7 @@
./hardware/i2c.nix
./hardware/sensor/hddtemp.nix
./hardware/sensor/iio.nix
./hardware/keyboard/teck.nix
./hardware/keyboard/zsa.nix
./hardware/ksm.nix
./hardware/ledger.nix