2025-08-28T08:54:29+02:00
This commit is contained in:
@@ -15,12 +15,19 @@
|
||||
# fsType = "ext4";
|
||||
# };
|
||||
|
||||
boot.kernelParams = [ "console=ttyS0,115200n8" ];
|
||||
services.getty = {
|
||||
boot.kernelParams = [
|
||||
"console=ttyS0,115200"
|
||||
"console=tty1"
|
||||
];
|
||||
|
||||
systemd.services."serial-getty@ttyS0" = {
|
||||
enable = true;
|
||||
tty = "ttyS0";
|
||||
wantedBy = [ "getty.target" ]; # to start at boot
|
||||
serviceConfig.Restart = "always"; # restart when session is closed
|
||||
};
|
||||
|
||||
|
||||
|
||||
# network and proxy
|
||||
networking.hostName = "minimal";
|
||||
networking.networkmanager.enable = true;
|
||||
|
||||
Reference in New Issue
Block a user