liminix

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 5b51aa0826fe3a8f1f22609b377557b28d0f3d69
parent dd8c8edd9cedf0fa792a28ee4f4c46e0874ea2d0
Author: Daniel Barlow <dan@telent.net>
Date:   Sat, 11 Feb 2023 13:28:25 +0000

tftp load address is per-device, IP addresses are local config

Diffstat:
Mdevices/gl-ar750/default.nix | 2--
Mdevices/gl-mt300a/default.nix | 3+++
Mdevices/gl-mt300n-v2/default.nix | 3+++
Mvanilla-configuration.nix | 5+++++
4 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/devices/gl-ar750/default.nix b/devices/gl-ar750/default.nix @@ -41,8 +41,6 @@ }; boot.tftp = { loadAddress = "0x00A00000"; - serverip = "192.168.8.148"; - ipaddr = "192.168.8.251"; }; kernel = { src = pkgs.pkgsBuildBuild.fetchurl { diff --git a/devices/gl-mt300a/default.nix b/devices/gl-mt300a/default.nix @@ -26,6 +26,9 @@ loadAddress = "0x80000000"; entryPoint = "0x80000000"; }; + boot.tftp = { + loadAddress = "0x00A00000"; + }; kernel = { src = pkgs.fetchurl { diff --git a/devices/gl-mt300n-v2/default.nix b/devices/gl-mt300n-v2/default.nix @@ -26,6 +26,9 @@ loadAddress = "0x80000000"; entryPoint = "0x80000000"; }; + boot.tftp = { + loadAddress = "0x00A00000"; + }; kernel = { src = pkgs.fetchurl { diff --git a/vanilla-configuration.nix b/vanilla-configuration.nix @@ -64,5 +64,10 @@ in rec { contents = with services; [ loopback ntp defaultroute4 ]; }; + boot.tftp = { + serverip = "192.168.8.148"; + ipaddr = "192.168.8.251"; + }; + defaultProfile.packages = [ pkgs.hello ] ; }