From c5ad3c66ea3fa5758d05154fd867427a47df96d0 Mon Sep 17 00:00:00 2001 From: Noah Masur <7386960+nmasur@users.noreply.github.com> Date: Thu, 3 Jul 2025 18:13:55 -0600 Subject: [PATCH] try fixing serial tty on flame --- hosts/aarch64-linux/flame/default.nix | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/hosts/aarch64-linux/flame/default.nix b/hosts/aarch64-linux/flame/default.nix index 7a36be2..6c8c643 100644 --- a/hosts/aarch64-linux/flame/default.nix +++ b/hosts/aarch64-linux/flame/default.nix @@ -98,14 +98,11 @@ rec { "libiscsi.debug_libiscsi_eh=1" "crash_kexec_post_notifiers" + # aarch64-linux + "console=ttyAMA0,115200n8" + # VNC console "console=tty1" - - # x86_64-linux - "console=ttyS0" - - # aarch64-linux - "console=ttyAMA0,115200" ]; boot.initrd.availableKernelModules = [ @@ -124,6 +121,14 @@ rec { "virtio_gpu" ]; + # # Explicitly enable a getty on ttyS0 + # systemd.services."getty@ttyS0" = { + # enable = true; + # after = [ "sysinit.target" ]; + # # Adjust baud rate if needed, but 115200 is standard + # # execConfig = [ "- BaudRate=115200" ]; + # }; + networking.useDHCP = true; # networking = { # defaultGateway = "10.0.0.1";