feat: enable waydroid & lxd

This commit is contained in:
Ryan Yin
2023-12-05 11:18:15 +08:00
parent ef60e7bf91
commit 37b34beca4
2 changed files with 7 additions and 3 deletions

View File

@@ -38,8 +38,13 @@
qemu_full
];
boot.kernelModules = ["kvm-amd" "kvm-intel"];
boot.kernelModules = ["kvm-amd" "kvm-intel" "vfio-pci"];
# Enable nested virsualization, required by security containers and nested vm.
boot.extraModprobeConfig = "options kvm_intel nested=1"; # for intel cpu
# boot.extraModprobeConfig = "options kvm_amd nested=1"; # for amd cpu
virtualisation = {
waydroid.enable = true;
lxd.enable = true;
};
}