feat(virtualisation): add waydroid
All checks were successful
CI / check (push) Successful in 4m48s
CI / build-and-cache (push) Successful in 2m37s

This commit is contained in:
2026-02-19 21:31:46 -08:00
parent d4d7769e51
commit eb4700226f
2 changed files with 10 additions and 1 deletions

View File

@@ -38,7 +38,10 @@
enable = true; enable = true;
extraGroups = [ "video" ]; extraGroups = [ "video" ];
}; };
virtualisation.enable = true; virtualisation = {
enable = true;
waydroid = true;
};
}; };
# Bootloader. # Bootloader.

View File

@@ -13,6 +13,11 @@ in
default = [ "johno" ]; default = [ "johno" ];
description = "List of users to add to the docker group"; 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 config = mkIf cfg.enable
@@ -21,5 +26,6 @@ in
programs.virt-manager.enable = true; programs.virt-manager.enable = true;
virtualisation.docker.enable = true; virtualisation.docker.enable = true;
users.extraGroups.docker.members = cfg.dockerUsers; users.extraGroups.docker.members = cfg.dockerUsers;
virtualisation.waydroid.enable = cfg.waydroid;
}; };
} }