nix-config/modules/hardware/ergodox/default.nix

15 lines
299 B
Nix
Raw Normal View History

# ZSA keyboard udev rules
{ config, lib, ... }:
let
2021-05-29 16:38:54 +02:00
cfg = config.my.hardware.ergodox;
in
{
2021-05-29 16:38:54 +02:00
options.my.hardware.ergodox = with lib; {
enable = mkEnableOption "ZSA udev rules and user group configuration";
};
config = lib.mkIf cfg.enable {
hardware.keyboard.zsa.enable = true;
};
}