Make console-getty only used inside container by default
This commit is contained in:
parent
a6dd9bd0cb
commit
2a1a814e53
|
@ -70,6 +70,7 @@ with lib;
|
|||
{ serviceConfig.ExecStart = "@${pkgs.utillinux}/sbin/agetty agetty --noclear --login-program ${pkgs.shadow}/bin/login --keep-baud console 115200,38400,9600 $TERM";
|
||||
serviceConfig.Restart = "always";
|
||||
restartIfChanged = false;
|
||||
enable = mkDefault config.boot.isContainer;
|
||||
};
|
||||
|
||||
environment.etc = singleton
|
||||
|
|
Loading…
Reference in New Issue