From a08c5ddd54f21ba85cd5d66ae974aaaf2e2417ab Mon Sep 17 00:00:00 2001 From: oqyude Date: Wed, 14 Oct 2026 14:00:56 +0300 Subject: [PATCH] fix(pxe-infra): correct triple-quote to double-quote in autoexec.ipxe block Nix indented strings use \x27\x27 (two single quotes) as delimiters, not \x27\x27\x27 (three). The autoexec.ipxe block added in 7c9a8d8 used \x27\x27\x27 which the parser rejects with "unexpected end of file, expecting indented string or \x27${ or end of an indented string". Replacing with the correct \x27\x27 makes both copies (this one and the home-manager symlink target) parse cleanly and unblocks nixos-rebuild. --- modules/pxe-infra/ipxe.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/pxe-infra/ipxe.nix b/modules/pxe-infra/ipxe.nix index 83af8ee..4e69867 100644 --- a/modules/pxe-infra/ipxe.nix +++ b/modules/pxe-infra/ipxe.nix @@ -69,8 +69,8 @@ # than the previously-recorded 0x7EE8A5FC -- iPXE was dying # before even reaching boot.ipxe. environment.etc."pxe-infra/tftpboot/autoexec.ipxe".source = - pkgs.writeText "autoexec.ipxe" '''#!ipxe + pkgs.writeText "autoexec.ipxe" ''#!ipxe chain http://${config.pxe-infra.bridge.address}/boot.ipxe -'''; +''; }; }