18 lines
334 B
Nix
18 lines
334 B
Nix
{ config, lib, ... }:
|
|
let
|
|
cfg = config.my.desktop.hardware.logitech;
|
|
in
|
|
{
|
|
options.my.utils.hardware.logitech = {
|
|
enable = lib.mkEnableOption "Enable the Logitech Hardware (es. mouse)";
|
|
};
|
|
|
|
config = lib.mkIf cfg.enable {
|
|
|
|
hardware.logitech.wireless = {
|
|
enable = true;
|
|
enableGraphical = true;
|
|
};
|
|
|
|
};
|
|
}
|