nix-config/modules/ergodox.nix
Bruno BELANYI 737b5e797b modules: ergodox: remove useless group clause
The `zsa` module already add the group itself.
2021-05-29 16:15:20 +02:00

15 lines
297 B
Nix

# ZSA keyboard udev rules
{ config, lib, ... }:
let
cfg = config.my.modules.ergodox;
in
{
options.my.modules.ergodox = with lib; {
enable = mkEnableOption "ZSA udev rules and user group configuration";
};
config = lib.mkIf cfg.enable {
hardware.keyboard.zsa.enable = true;
};
}