Add module for hardware and logitech stuff

This commit is contained in:
pazpi 2024-09-11 21:30:36 +02:00
parent 395033c25a
commit c99cad7aef
2 changed files with 19 additions and 0 deletions

View file

@ -0,0 +1,18 @@
{ 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;
};
};
}