about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2021-06-25 22:31:02 +0200
committerGitHub <noreply@github.com>2021-06-25 22:31:02 +0200
commit9de5cbca453657b1b9e52b1e5f081e5afe059b92 (patch)
treed37b1f1e9b307c96583b95c1b4d9aa58ba3bae45 /nixos
parent3affea2a73621856f825344724a4a9e011a75ff4 (diff)
parentba42d639f16dc774f4fa661243b640b034d7be0a (diff)
Merge pull request #128079 from flokli/serial-getty-keep-baud
nixos/getty: add missing --keep-baud
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/services/ttys/getty.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/ttys/getty.nix b/nixos/modules/services/ttys/getty.nix
index 2480e681de8d0..8345dfabeb7e1 100644
--- a/nixos/modules/services/ttys/getty.nix
+++ b/nixos/modules/services/ttys/getty.nix
@@ -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;
       };