Skip to content

Commit

Permalink
Make console-getty only used inside container by default
Browse files Browse the repository at this point in the history
  • Loading branch information
7c6f434c committed Sep 1, 2014
1 parent a6dd9bd commit 2a1a814
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nixos/modules/services/ttys/agetty.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2a1a814

Please sign in to comment.