Merge pull request #128079 from flokli/serial-getty-keep-baud

nixos/getty: add missing --keep-baud
This commit is contained in:
Florian Klink 2021-06-25 22:31:02 +02:00 committed by GitHub
commit 9de5cbca45
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -118,7 +118,7 @@ in
let speeds = concatStringsSep "," (map toString config.services.getty.serialSpeed); in
{ serviceConfig.ExecStart = [
"" # override upstream default with an empty ExecStart
(gettyCmd "%I ${speeds} $TERM")
(gettyCmd "%I --keep-baud ${speeds} $TERM")
];
restartIfChanged = false;
};