modules: hardware: put modules into folders

This commit is contained in:
Bruno BELANYI 2021-09-25 15:08:43 +02:00
parent 7bec7ae0f9
commit 836b54b8eb
7 changed files with 6 additions and 6 deletions

View file

@ -0,0 +1,14 @@
# ZSA keyboard udev rules
{ config, lib, ... }:
let
cfg = config.my.hardware.ergodox;
in
{
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;
};
}