From ad65a1e064a8fce60232f09b219c52ea2913e8ee Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Fri, 11 Apr 2014 11:47:01 +0200 Subject: [PATCH] Revert "nixos: fix shell on conatiners" This reverts commit c69577b7d6ea96cd605043440145ea6e094674b5. See https://github.com/NixOS/nixpkgs/pull/2198 for further details. --- nixos/modules/programs/shadow.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/programs/shadow.nix b/nixos/modules/programs/shadow.nix index 7e9133099edf..15b083b72d28 100644 --- a/nixos/modules/programs/shadow.nix +++ b/nixos/modules/programs/shadow.nix @@ -94,7 +94,7 @@ in groupmod = { rootOK = true; }; groupmems = { rootOK = true; }; groupdel = { rootOK = true; }; - login = { startSession = !config.boot.isContainer; allowNullPassword = true; showMotd = true; updateWtmp = true; }; + login = { startSession = true; allowNullPassword = true; showMotd = true; updateWtmp = true; }; chpasswd = { rootOK = true; }; chgpasswd = { rootOK = true; }; };