I’m trying to set up multiple Cage instances on different TTYs. Specifically, I want to run Waydroid on one TTY and GNOME on another (TTY8). Currently, I have this configuration for Waydroid:
services.cage.user = "waydroid";
services.cage.program = "${pkgs.waydroid}/bin/waydroid show-full-ui";
services.cage.enable = true;
services.cage.extraArguments = [ "-s" ];
Is there a way to configure an additional Cage instance for GNOME on TTY8? I tried using services.cage.instances
, but it doesn’t seem to be a valid option;)
services.cage.instances = {
waydroid = {
user = "waydroid";
program = "${pkgs.waydroid}/bin/waydroid show-full-ui";
extraArguments = [ "-s" ];
};
gnome = {
user = "youruser";
program = "${pkgs.gnome.gnome-session}/bin/gnome-session";
extraArguments = [ "-s" ];
vt = 8;
};
};
What’s the recommended approach for running multiple Cage instances or achieving a similar setup with Waydroid on one TTY and GNOME on another?