mirror of
https://github.com/nmasur/dotfiles
synced 2025-07-05 08:00:14 +00:00
try fixing serial tty on flame
This commit is contained in:
@ -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";
|
||||
|
Reference in New Issue
Block a user