configuration.nix/system/virtualisation.nix

16 lines
282 B
Nix

{ pkgs, ... }: {
virtualisation = {
docker = {
enable = true;
storageDriver = "btrfs";
};
kvmgt.enable = true;
libvirtd = {
enable = true;
qemu.ovmf = {
enable = true;
packages = [ pkgs.OVMFFull.fd ];
};
};
};
}