nixos/build: Add Intel NIC drivers and increased timeout

This commit is contained in:
Jack O'Sullivan 2024-06-30 03:38:48 +01:00
parent 7e2dfc21c6
commit 86c99c2cbb

View File

@ -54,6 +54,7 @@ let
loader.grub.enable = false; loader.grub.enable = false;
initrd = { initrd = {
kernelModules = [ "nbd" ]; kernelModules = [ "nbd" ];
availableKernelModules = [ "igb" "igc" ];
systemd = { systemd = {
storePaths = with pkgs; [ storePaths = with pkgs; [
@ -67,8 +68,8 @@ let
nbd-client = "${nbd}/bin/nbd-client"; nbd-client = "${nbd}/bin/nbd-client";
}; };
extraConfig = '' extraConfig = ''
DefaultTimeoutStartSec=10 DefaultTimeoutStartSec=20
DefaultDeviceTimeoutSec=10 DefaultDeviceTimeoutSec=20
''; '';
network = { network = {