Files
nixos/configuration/modules/virtualisation.nix

26 lines
543 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 ];
}