hosts: virqfd isn't a module anymore, restart vswitch after update

This commit is contained in:
2023-02-26 10:21:26 +01:00
parent 4e4917be51
commit d0b7116176
3 changed files with 12 additions and 3 deletions

View File

@@ -18,7 +18,7 @@
];
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usb_storage" "usbhid" "sd_mod" ];
boot.initrd.kernelModules = [ "vfio_pci" "vfio" "vfio_iommu_type1" "vfio_virqfd" ];
boot.initrd.kernelModules = [ "vfio_pci" "vfio" "vfio_iommu_type1" ];
boot.kernelModules = [ "kvm-amd" ];
boot.extraModulePackages = [ ];
boot.tmpOnTmpfs = true;
@@ -159,6 +159,10 @@
#};
};
systemd.services = {
ovs-vswitchd.partOf = [ "network-setup.service" ];
};
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
# high-resolution display
hardware.video.hidpi.enable = lib.mkDefault true;