Fix serial for sisko
This commit is contained in:
parent
c4a7c09930
commit
aa3ccc9a9d
1 changed files with 9 additions and 1 deletions
|
@ -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 = [
|
||||||
|
|
Loading…
Add table
Reference in a new issue