configuration.nix/system/virtualisation.nix

22 lines
372 B
Nix
Raw Normal View History

2023-03-29 21:48:55 +05:30
{ pkgs, ... }: {
2023-03-15 22:11:59 +05:30
virtualisation = {
2023-03-15 22:48:55 +05:30
docker = {
enable = true;
storageDriver = "btrfs";
};
2023-03-15 22:11:59 +05:30
kvmgt.enable = true;
libvirtd = {
enable = true;
qemu.ovmf = {
enable = true;
2023-03-29 21:48:55 +05:30
packages = [ pkgs.OVMFFull.fd ];
2023-03-15 22:11:59 +05:30
};
};
2023-04-08 02:42:33 +05:30
lxc = {
enable = true;
lxcfs.enable = true;
};
lxd.enable = true;
2023-03-15 22:11:59 +05:30
};
}