configuration.nix/system/virtualisation.nix
2023-04-08 02:42:33 +05:30

21 lines
372 B
Nix

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