summary refs log tree commit diff
path: root/nixos/modules/system/boot/initrd-ssh.nix
diff options
context:
space:
mode:
authorNikolay Amiantov <ab@fmap.me>2016-07-06 22:54:08 +0300
committerNikolay Amiantov <ab@fmap.me>2016-07-12 22:22:28 +0300
commit90ad879753c476154e65667f8dec12cf5a6c89d4 (patch)
tree2e77cd1f2abe220507aacea1e35ef47859bfa8d4 /nixos/modules/system/boot/initrd-ssh.nix
parent6e21246dc471a01fe8e8107292b5067234d20595 (diff)
downloadnixlib-90ad879753c476154e65667f8dec12cf5a6c89d4.tar
nixlib-90ad879753c476154e65667f8dec12cf5a6c89d4.tar.gz
nixlib-90ad879753c476154e65667f8dec12cf5a6c89d4.tar.bz2
nixlib-90ad879753c476154e65667f8dec12cf5a6c89d4.tar.lz
nixlib-90ad879753c476154e65667f8dec12cf5a6c89d4.tar.xz
nixlib-90ad879753c476154e65667f8dec12cf5a6c89d4.tar.zst
nixlib-90ad879753c476154e65667f8dec12cf5a6c89d4.zip
nixos stage-1: unconditionally mount /dev/pts
Diffstat (limited to 'nixos/modules/system/boot/initrd-ssh.nix')
-rw-r--r--nixos/modules/system/boot/initrd-ssh.nix3
1 files changed, 0 insertions, 3 deletions
diff --git a/nixos/modules/system/boot/initrd-ssh.nix b/nixos/modules/system/boot/initrd-ssh.nix
index 3e2805a8c341..d0a4ce51148f 100644
--- a/nixos/modules/system/boot/initrd-ssh.nix
+++ b/nixos/modules/system/boot/initrd-ssh.nix
@@ -100,9 +100,6 @@ in
     '';
 
     boot.initrd.network.postCommands = ''
-      mkdir /dev/pts
-      mount -t devpts devpts /dev/pts
-
       echo '${cfg.shell}' > /etc/shells
       echo 'root:x:0:0:root:/root:${cfg.shell}' > /etc/passwd
       echo 'passwd: files' > /etc/nsswitch.conf