Add some logitech stuff

This commit is contained in:
Natsu Kagami 2023-04-26 21:04:13 +02:00
parent d4c321754f
commit 8f2f511424
Signed by: nki
GPG key ID: 7306B3D3C3AD6E51

View file

@ -27,10 +27,15 @@ let
exec_after = ''which swaync-client && swaync-client --inhibitor-remove "xdg-desktop-portal-wlr" || true''; exec_after = ''which swaync-client && swaync-client --inhibitor-remove "xdg-desktop-portal-wlr" || true'';
}; };
}; };
logitech = { pkgs, ... }: mkIf cfg.enable {
services.ratbagd.enable = true;
environment.systemPackages = with pkgs; [ piper ];
};
}; };
in in
{ {
imports = with modules; [ adb ios wlr ]; imports = with modules; [ adb ios wlr logitech ];
options.common.linux = { options.common.linux = {
enable = mkOption { enable = mkOption {