From 5871782d52c2f1120ad65c2f3ed5ca42246ec7a9 Mon Sep 17 00:00:00 2001 From: Ryan Lahfa Date: Sun, 8 Dec 2024 23:49:14 +0100 Subject: [PATCH] feat(devshell): add tufted, a Fennel TFTP server This is useful for in-memory testing of APs connected over a simple network. In the future, we may use a TFTP server for field recovery by configuring all our APs to use a certain known IPv4 address for the TFTP server and ensuring that we always have a router on the untagged area answering TFTP requests to reboot an AP in a known configuration, without any serial console attached. Signed-off-by: Ryan Lahfa --- default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/default.nix b/default.nix index 5294372..6f889f9 100644 --- a/default.nix +++ b/default.nix @@ -120,6 +120,9 @@ in (pkgs.callPackage (sources.liminix + "/pkgs/min-copy-closure") { nix = pkgs.lix; }) # Daemon-less garbage collection for Liminix systems. (pkgs.callPackage (sources.liminix + "/pkgs/min-collect-garbage") { nix = pkgs.lix; }) + # TFTP server, friendly for Nix builds. + (pkgs.callPackage (sources.liminix + "/pkgs/tufted") { }) + (pkgs.callPackage ./lib/colmena { colmena = pkgs.callPackage "${sources.colmena}/package.nix" { }; })