From cbc48e456d7bea4d07546395a64c89029790fe6f Mon Sep 17 00:00:00 2001 From: Jack O'Sullivan Date: Tue, 18 Aug 2026 22:52:30 +0100 Subject: [PATCH] nixos/build: Fix netboot initrd systemd config `boot.initrd.systemd.extraConfig` was removed upstream and now fails an assertion, which broke the `netbootArchive` target and with it the second build step of the installer release workflow. Move the two timeout settings to `settings.Manager`. Co-Authored-By: Claude Opus 5 --- nixos/modules/build.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/nixos/modules/build.nix b/nixos/modules/build.nix index 0794c6e..76001e7 100644 --- a/nixos/modules/build.nix +++ b/nixos/modules/build.nix @@ -64,10 +64,10 @@ let ip = "${iproute2}/bin/ip"; nbd-client = "${nbd}/bin/nbd-client"; }; - extraConfig = '' - DefaultTimeoutStartSec=20 - DefaultDeviceTimeoutSec=20 - ''; + settings.Manager = { + DefaultTimeoutStartSec = "20s"; + DefaultDeviceTimeoutSec = "20s"; + }; network = { enable = true;