nix-config/hosts/m3-nix/services/virtualization.nix

20 lines
374 B
Nix
Raw Normal View History

2024-05-15 09:25:27 +00:00
{pkgs, ...}: {
virtualisation = {
libvirtd = {
enable = true;
qemu = {
swtpm.enable = true;
ovmf = {
enable = true;
packages = [pkgs.OVMFFull];
};
};
};
containers.cdi.dynamic.nvidia.enable = true;
podman = {
enable = true;
defaultNetwork.settings.dns_enabled = true;
};
};
}