nixos/modules/hardware/keychron/default.nix

28 lines
396 B
Nix
Raw Normal View History

2024-07-28 21:08:02 +02:00
{
config,
lib,
pkgs,
...
}:
let
cfg = config.my.hardware.keychron;
in
{
options.my.hardware.keychron = {
enable = lib.mkEnableOption "keychron configuration";
};
config = lib.mkIf cfg.enable {
2025-05-06 00:12:01 +02:00
hardware.keyboard.qmk.enable = true;
services.udev.packages = with pkgs; [
via
];
environment.systemPackages = with pkgs; [
qmk
via
];
};
}