added tftp server
Check NixOS configurations / eval-hosts (push) Failing after 6m30s

This commit is contained in:
2026-06-02 12:03:00 +10:00
parent 2f985536c4
commit c718010a69
+11
View File
@@ -62,6 +62,16 @@ in
};
};
# TFTP is only used to deliver the initial iPXE bootloader. After iPXE
# starts, all further assets are fetched via nginx over HTTP from /srv/pxe.
services.atftpd = {
enable = true;
root = "${pxeRoot}/boot";
extraOptions = [
"--verbose=5"
];
};
systemd.tmpfiles.rules = [
"d ${pxeRoot} 0755 root root -"
"d ${pxeRoot}/boot 0755 root root -"
@@ -76,6 +86,7 @@ in
services.openssh.settings.PermitRootLogin = "yes";
networking.firewall.allowedTCPPorts = [ 80 ];
networking.firewall.allowedUDPPorts = [ 69 ];
system.stateVersion = "25.05";
}