made vfio work

This commit is contained in:
yaroslav
2025-06-11 00:37:25 +03:00
parent 70a5e48af2
commit 89a7263d34
3 changed files with 2 additions and 2 deletions
-1
View File
@@ -13,7 +13,6 @@
"vfio_pci"
"vfio"
"vfio_iommu_type1"
"vfio_virqfd"
];
boot.kernelModules = [
"kvm-intel"
+1
View File
@@ -24,6 +24,7 @@
};
services.openssh.enable = true;
services.openssh.settings.X11Forwarding = true;
# networking
networking.networkmanager.enable = true;
+1 -1
View File
@@ -2,7 +2,7 @@
{
environment = {
systemPackages = [ pkgs.qemu ];
systemPackages = [ pkgs.qemu pkgs.virt-manager ];
};
systemd.tmpfiles.rules = [ "L+ /var/lib/qemu/firmware - - - - ${pkgs.qemu}/share/qemu/firmware" ];
boot.binfmt.emulatedSystems = [