diff --git a/modules/common/linux/default.nix b/modules/common/linux/default.nix index 627a18f..744b941 100644 --- a/modules/common/linux/default.nix +++ b/modules/common/linux/default.nix @@ -27,10 +27,15 @@ let 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 { - imports = with modules; [ adb ios wlr ]; + imports = with modules; [ adb ios wlr logitech ]; options.common.linux = { enable = mkOption {