git.iko.soy/typeable/nixpkgs
on master help sign in
nixos/agetty: override upstream default

Also see c2cf696430055498467dd9deec59939e8d52a43e.

commit2d5a04e5bdb3e5817352d6c31eb56f0653cbe50c authorFranz Pletz <fpletz@fnordicwalking.de> dateSun 13 Aug 2017, 19:07 (9 years ago) parent05212cd
1 file changed+8−2
nixos/modules/services/ttys/agetty.nix+8−2
nixos/modules/services/ttys/agetty.nix+8−2
@@ -85,12 +85,18 @@ in
8585 };
8686
8787 systemd.services."container-getty@" =
88− { serviceConfig.ExecStart = gettyCmd "--noclear --keep-baud pts/%I 115200,38400,9600 $TERM";
88+ { serviceConfig.ExecStart = [
89+ "" # override upstream default with an empty ExecStart
90+ (gettyCmd "--noclear --keep-baud pts/%I 115200,38400,9600 $TERM")
91+ ];
8992 restartIfChanged = false;
9093 };
9194
9295 systemd.services."console-getty" =
93− { serviceConfig.ExecStart = gettyCmd "--noclear --keep-baud console 115200,38400,9600 $TERM";
96+ { serviceConfig.ExecStart = [
97+ "" # override upstream default with an empty ExecStart
98+ (gettyCmd "--noclear --keep-baud console 115200,38400,9600 $TERM")
99+ ];
94100 serviceConfig.Restart = "always";
95101 restartIfChanged = false;
96102 enable = mkDefault config.boot.isContainer;