flake/nixos/modules/hardware/accessories/logitech-wireless.nix

19 lines
412 B
Nix

{
lib,
config,
...
}: let
cfg = config.myFlake.nixos.hardware.accessories.logitech-wireless;
in {
options = {
myFlake.nixos.hardware.accessories.logitech-wireless.enable =
lib.mkEnableOption "Whether to enable support for wireless Logitech hardwares.";
};
config = lib.mkIf cfg.enable {
hardware.logitech.wireless = {
enable = true;
enableGraphical = true;
};
};
}