From eb4700226f1875bc4a2322e19b6cf67ca228a2b2 Mon Sep 17 00:00:00 2001 From: John Ogle Date: Thu, 19 Feb 2026 21:31:46 -0800 Subject: [PATCH] feat(virtualisation): add waydroid --- machines/nix-book/configuration.nix | 5 ++++- roles/virtualisation/default.nix | 6 ++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/machines/nix-book/configuration.nix b/machines/nix-book/configuration.nix index 4e46ff7..4d42693 100644 --- a/machines/nix-book/configuration.nix +++ b/machines/nix-book/configuration.nix @@ -38,7 +38,10 @@ enable = true; extraGroups = [ "video" ]; }; - virtualisation.enable = true; + virtualisation = { + enable = true; + waydroid = true; + }; }; # Bootloader. diff --git a/roles/virtualisation/default.nix b/roles/virtualisation/default.nix index 52779e7..dde6fca 100644 --- a/roles/virtualisation/default.nix +++ b/roles/virtualisation/default.nix @@ -13,6 +13,11 @@ in default = [ "johno" ]; description = "List of users to add to the docker group"; }; + waydroid = mkOption { + type = types.bool; + default = false; + description = "Enable waydroid support"; + }; }; config = mkIf cfg.enable @@ -21,5 +26,6 @@ in programs.virt-manager.enable = true; virtualisation.docker.enable = true; users.extraGroups.docker.members = cfg.dockerUsers; + virtualisation.waydroid.enable = cfg.waydroid; }; }