nixos/agetty: override upstream default

Also see c2cf696430055498467dd9deec59939e8d52a43e.

+8 -2
+8 -2
nixos/modules/services/ttys/agetty.nix
··· 85 }; 86 87 systemd.services."container-getty@" = 88 - { serviceConfig.ExecStart = gettyCmd "--noclear --keep-baud pts/%I 115200,38400,9600 $TERM"; 89 restartIfChanged = false; 90 }; 91 92 systemd.services."console-getty" = 93 - { serviceConfig.ExecStart = gettyCmd "--noclear --keep-baud console 115200,38400,9600 $TERM"; 94 serviceConfig.Restart = "always"; 95 restartIfChanged = false; 96 enable = mkDefault config.boot.isContainer;
··· 85 }; 86 87 systemd.services."container-getty@" = 88 + { serviceConfig.ExecStart = [ 89 + "" # override upstream default with an empty ExecStart 90 + (gettyCmd "--noclear --keep-baud pts/%I 115200,38400,9600 $TERM") 91 + ]; 92 restartIfChanged = false; 93 }; 94 95 systemd.services."console-getty" = 96 + { serviceConfig.ExecStart = [ 97 + "" # override upstream default with an empty ExecStart 98 + (gettyCmd "--noclear --keep-baud console 115200,38400,9600 $TERM") 99 + ]; 100 serviceConfig.Restart = "always"; 101 restartIfChanged = false; 102 enable = mkDefault config.boot.isContainer;