nixos/agetty: override upstream default
Also see c2cf696430055498467dd9deec59939e8d52a43e.
This commit is contained in:
parent
05212cd4d6
commit
2d5a04e5bd
@ -85,12 +85,18 @@ in
|
|||||||
};
|
};
|
||||||
|
|
||||||
systemd.services."container-getty@" =
|
systemd.services."container-getty@" =
|
||||||
{ serviceConfig.ExecStart = gettyCmd "--noclear --keep-baud pts/%I 115200,38400,9600 $TERM";
|
{ serviceConfig.ExecStart = [
|
||||||
|
"" # override upstream default with an empty ExecStart
|
||||||
|
(gettyCmd "--noclear --keep-baud pts/%I 115200,38400,9600 $TERM")
|
||||||
|
];
|
||||||
restartIfChanged = false;
|
restartIfChanged = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
systemd.services."console-getty" =
|
systemd.services."console-getty" =
|
||||||
{ serviceConfig.ExecStart = gettyCmd "--noclear --keep-baud console 115200,38400,9600 $TERM";
|
{ serviceConfig.ExecStart = [
|
||||||
|
"" # override upstream default with an empty ExecStart
|
||||||
|
(gettyCmd "--noclear --keep-baud console 115200,38400,9600 $TERM")
|
||||||
|
];
|
||||||
serviceConfig.Restart = "always";
|
serviceConfig.Restart = "always";
|
||||||
restartIfChanged = false;
|
restartIfChanged = false;
|
||||||
enable = mkDefault config.boot.isContainer;
|
enable = mkDefault config.boot.isContainer;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user