From 0cab6e9fba956b89cbf6b1b961b264b6b0a31101 Mon Sep 17 00:00:00 2001 From: Daniel Barlow Date: Thu, 2 Mar 2023 15:11:12 +0000 Subject: [PATCH] rename phram -> tftpboot and flash.scr to boot.scr --- doc/developer.rst | 2 +- modules/{phram.nix => tftpboot.nix} | 2 +- rotuer-secrets.nix | 7 +++++++ rotuer.nix | 2 +- vanilla-configuration.nix | 2 +- 5 files changed, 11 insertions(+), 4 deletions(-) rename modules/{phram.nix => tftpboot.nix} (98%) create mode 100644 rotuer-secrets.nix diff --git a/doc/developer.rst b/doc/developer.rst index a2a5e7c..9cf8413 100644 --- a/doc/developer.rst +++ b/doc/developer.rst @@ -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 = { diff --git a/modules/phram.nix b/modules/tftpboot.nix similarity index 98% rename from modules/phram.nix rename to modules/tftpboot.nix index 373aa03..7bd6b2f 100644 --- a/modules/phram.nix +++ b/modules/tftpboot.nix @@ -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 = diff --git a/rotuer-secrets.nix b/rotuer-secrets.nix new file mode 100644 index 0000000..581fc57 --- /dev/null +++ b/rotuer-secrets.nix @@ -0,0 +1,7 @@ +{ + wpa_passphrase = "colourless green ideas"; + l2tp = { + name = "db432@a.1"; + password = "PHEALRQ8RY74"; + }; +} diff --git a/rotuer.nix b/rotuer.nix index 9ed0266..17ddd47 100644 --- a/rotuer.nix +++ b/rotuer.nix @@ -43,7 +43,7 @@ in rec { imports = [ ./modules/wlan.nix - ./modules/phram.nix + ./modules/tftpboot.nix ]; kernel = { diff --git a/vanilla-configuration.nix b/vanilla-configuration.nix index 5c9efd2..e37fbff 100644 --- a/vanilla-configuration.nix +++ b/vanilla-configuration.nix @@ -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 =