rename phram -> tftpboot and flash.scr to boot.scr

module-based-network
Daniel Barlow 2023-03-02 15:11:12 +00:00
parent adc198b3af
commit 0cab6e9fba
5 changed files with 11 additions and 4 deletions

View File

@ -113,7 +113,7 @@ image instead of flashing. In your device configuration add
.. code-block:: nix
imports = [
./modules/phram.nix
./modules/tftpboot.nix
];
boot.tftp = {

View File

@ -52,7 +52,7 @@ in {
ln -s ${o.manifest} manifest
ln -s ${o.kernel.headers} build
ln -s ${o.uimage} uimage
ln -s ${o.boot-scr} flash.scr
ln -s ${o.boot-scr} boot.scr
'';
outputs.boot-scr =

7
rotuer-secrets.nix Normal file
View File

@ -0,0 +1,7 @@
{
wpa_passphrase = "colourless green ideas";
l2tp = {
name = "db432@a.1";
password = "PHEALRQ8RY74";
};
}

View File

@ -43,7 +43,7 @@ in rec {
imports = [
./modules/wlan.nix
./modules/phram.nix
./modules/tftpboot.nix
];
kernel = {

View File

@ -4,7 +4,7 @@ let
inherit (pkgs.liminix.services) oneshot longrun bundle target;
in rec {
imports = [
./modules/phram.nix
./modules/tftpboot.nix
./modules/wlan.nix
];
services.loopback =