26 lines
537 B
Nix
26 lines
537 B
Nix
{ pkgs, ... }:
|
|
|
|
{
|
|
virtualisation = {
|
|
containers = {
|
|
# Enable common container config files in /etc/containers
|
|
enable = true;
|
|
};
|
|
libvirtd = {
|
|
enable = true;
|
|
qemu.vhostUserPackages = [ pkgs.virtiofsd ];
|
|
};
|
|
# remember to add the necessary users to the docker group
|
|
docker = {
|
|
enable = true;
|
|
storageDriver = "btrfs";
|
|
};
|
|
waydroid = {
|
|
enable = true;
|
|
};
|
|
};
|
|
programs.virt-manager.enable = true;
|
|
# environment.systemPackages = with pkgs;[ podman-compose ];
|
|
}
|
|
|