summaryrefslogtreecommitdiffstats
path: root/krebs/1systems
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2020-11-24 22:13:32 +0100
committermakefu <github@syntax-fehler.de>2020-11-24 22:13:32 +0100
commit3ed2d7d3701234325fef6b659feaa83ec2723b93 (patch)
tree306395f86f840d70688ddb2b65ea5fb5ec0a95b8 /krebs/1systems
parent41865fe25f356b46b8a56629ab60e2c3af125ae8 (diff)
getty-for-esp: init
this module provides a serial port which is exposed via an esp8266 to the network via wifi. it essentially creates a backdoor to the serial console when the network config is b0rked again
Diffstat (limited to 'krebs/1systems')
-rw-r--r--krebs/1systems/puyak/config.nix6
1 files changed, 4 insertions, 2 deletions
diff --git a/krebs/1systems/puyak/config.nix b/krebs/1systems/puyak/config.nix
index 2bfe061f5..e41488cc3 100644
--- a/krebs/1systems/puyak/config.nix
+++ b/krebs/1systems/puyak/config.nix
@@ -1,5 +1,4 @@
{ config, pkgs, ... }:
-
{
imports = [
./net.nix
@@ -8,6 +7,10 @@
<stockholm/krebs/2configs/secret-passwords.nix>
<stockholm/krebs/2configs/hw/x220.nix>
+ # see documentation in included getty-for-esp.nix:
+ # brain hosts/puyak/root
+ <stockholm/krebs/2configs/hw/getty-for-esp.nix>
+
## initrd unlocking
# (brain hosts/puyak/luks-ssd;echo) | ssh root@$(brain krebs-secrets/puyak/initrd/hostname) 'cat > /crypt-ramfs/passphrase'
@@ -119,7 +122,6 @@
krebs.build.host = config.krebs.hosts.puyak;
sound.enable = false;
-
boot = {
loader.systemd-boot.enable = true;
loader.efi.canTouchEfiVariables = true;