feat(virtualisation): add waydroid
This commit is contained in:
@@ -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;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user