feat(waydroid): add waydroid service with niri integration #24
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/waydroid"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Add Android app support via Waydroid with niri compositor integration.
Changes
modules/services/waydroid.nix(new)Enable
virtualisation.waydroidusingpkgs.waydroid-nftables(nftables-compatible variant). Android properties (persist.waydroid.multi_windows, display size) are written via an activation script — NixOS exposes no option for these.modules/desktop/niri/config.kdlapp-id = ^Waydroid$) to a fixed 480px column width; the Android display size is fixed per session so free-form sizing serves no purposeSuper+A: spawnwaydroid show-full-uiSuper+Shift+A: toggle between phone and full-size by restarting the Waydroid session (~12s); resizing live is not possible (upstream waydroid#1053)variable-refresh-rate: enable VRR on the output- modules/services/waydroid.nix: new module; enables virtualisation.waydroid with waydroid-nftables package; writes Android properties via activation script (multi_windows, display size) since NixOS has no option for these - modules/desktop/niri/config.kdl: - add window-rule pinning Waydroid full UI to 480px fixed width - Super+A: spawn waydroid show-full-ui - Super+Shift+A: toggle phone/full-size by restarting the session (~12s); display resolution is fixed per session (upstream waydroid#1053) - enable variable-refresh-rate on the outputa3a9cd9c91toa8aa26188e