modules: hardware: put modules into folders
This commit is contained in:
parent
7bec7ae0f9
commit
836b54b8eb
7 changed files with 6 additions and 6 deletions
14
modules/hardware/ergodox/default.nix
Normal file
14
modules/hardware/ergodox/default.nix
Normal 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;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue