about summary refs log tree commit diff
path: root/nixos/modules/programs/shadow.nix
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2014-04-11 11:47:01 +0200
committerPeter Simons <simons@cryp.to>2014-04-11 12:07:00 +0200
commitad65a1e064a8fce60232f09b219c52ea2913e8ee (patch)
tree3ba2ed6478ac0aefb54a4a81003c1c051d6f82c6 /nixos/modules/programs/shadow.nix
parentb5773eeccb378026be547cc71d6bf5bcb211945c (diff)
downloadnixlib-ad65a1e064a8fce60232f09b219c52ea2913e8ee.tar
nixlib-ad65a1e064a8fce60232f09b219c52ea2913e8ee.tar.gz
nixlib-ad65a1e064a8fce60232f09b219c52ea2913e8ee.tar.bz2
nixlib-ad65a1e064a8fce60232f09b219c52ea2913e8ee.tar.lz
nixlib-ad65a1e064a8fce60232f09b219c52ea2913e8ee.tar.xz
nixlib-ad65a1e064a8fce60232f09b219c52ea2913e8ee.tar.zst
nixlib-ad65a1e064a8fce60232f09b219c52ea2913e8ee.zip
Revert "nixos: fix shell on conatiners"
This reverts commit c69577b7d6ea96cd605043440145ea6e094674b5.
See https://github.com/NixOS/nixpkgs/pull/2198 for further details.
Diffstat (limited to 'nixos/modules/programs/shadow.nix')
-rw-r--r--nixos/modules/programs/shadow.nix2
1 files changed, 1 insertions, 1 deletions
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; };
       };