Fix serial for sisko

This commit is contained in:
Andrea Ciceri 2024-11-04 11:22:25 +01:00
parent c4a7c09930
commit aa3ccc9a9d
Signed by: aciceri
SSH key fingerprint: SHA256:/AagBweyV4Hlfg9u092n8hbHwD5fcB6A3qhDiDA65Rg

View file

@ -62,10 +62,18 @@
]; ];
boot.kernelParams = [ boot.kernelParams = [
"earlycon"
"consoleblank=0"
"console=tty1" "console=tty1"
"console=ttyS0,1500000" "console=ttyS2,1500000"
]; ];
systemd.services."serial-getty@ttyS2" = {
enable = true;
wantedBy = [ "getty.target" ];
serviceConfig.restart = "always";
};
environment.persistence."/persist" = { environment.persistence."/persist" = {
hideMounts = true; hideMounts = true;
directories = [ directories = [