nixos: fix shell on conatiners

This commit is contained in:
Jaka Hudoklin 2014-04-10 12:20:50 +02:00
parent d54a805281
commit c69577b7d6

View File

@ -94,7 +94,7 @@ in
groupmod = { rootOK = true; };
groupmems = { rootOK = true; };
groupdel = { rootOK = true; };
login = { startSession = true; allowNullPassword = true; showMotd = true; updateWtmp = true; };
login = { startSession = !config.boot.isContainer; allowNullPassword = true; showMotd = true; updateWtmp = true; };
chpasswd = { rootOK = true; };
chgpasswd = { rootOK = true; };
};