WIP
This commit is contained in:
parent
a2c3d48fed
commit
a290cacd3d
4 changed files with 50 additions and 2 deletions
|
@ -24,7 +24,8 @@
|
|||
};
|
||||
systemd = {
|
||||
enable = true;
|
||||
network = config.systemd.network;
|
||||
network.enable = true;
|
||||
network.networks.enp1s0 = config.systemd.network.networks.enp1s0;
|
||||
targets.initrd.wants = [
|
||||
"systemd-networkd-wait-online@enp1s0.service"
|
||||
];
|
||||
|
@ -37,9 +38,15 @@
|
|||
device = "/dev/disk/by-uuid/7f3ccd2d-8022-491e-baa1-675805919fd7";
|
||||
};
|
||||
};
|
||||
kernelModules = [ "kvm-intel" ];
|
||||
kernelModules = [ "kvm-intel" "vfio" "vfio_pci" "vfio_iommu_type1" "vfio_virqfd" ];
|
||||
kernelParams = [
|
||||
"zfs.zfs_arc_max=1024000000"
|
||||
"intel_iommu=on"
|
||||
"intel_iommu=igfx_off"
|
||||
"pci=assign-busses"
|
||||
];
|
||||
# extraModprobeConfig = ''
|
||||
# options ixgbe max_vfs=4 allow_unsupported_sfp=1 debug=2
|
||||
# '';
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue