29 lines
521 B
Nix
29 lines
521 B
Nix
{ config, pkgs, ... }:
|
|
|
|
{
|
|
virtualisation = {
|
|
containers.enable = true;
|
|
|
|
podman = {
|
|
enable = true;
|
|
dockerCompat = true;
|
|
defaultNetwork.settings.dns_enabled = true;
|
|
};
|
|
|
|
waydroid.enable = true;
|
|
|
|
virtualbox.host.enable = true;
|
|
libvirtd.enable = true;
|
|
};
|
|
|
|
networking.firewall.trustedInterfaces = [ "waydroid0" ];
|
|
|
|
# Install podman-compose and helper tools
|
|
environment.systemPackages = with pkgs; [
|
|
podman-compose
|
|
podman-tui
|
|
slirp4netns
|
|
fuse-overlayfs
|
|
];
|
|
}
|