diff --git a/modules/base.nix b/modules/base.nix index 521bfb2..11357ab 100644 --- a/modules/base.nix +++ b/modules/base.nix @@ -134,6 +134,7 @@ in { proc = dir {}; run = dir {}; sys = dir {}; + tmp = dir {}; }; }; } diff --git a/modules/s6/scripts/rc.init b/modules/s6/scripts/rc.init index d689282..7b5bfd1 100755 --- a/modules/s6/scripts/rc.init +++ b/modules/s6/scripts/rc.init @@ -17,6 +17,7 @@ shift mount -t proc none /proc mount -t sysfs none /sys +mount -t tmpfs none /tmp # s6-linux-init mounts /dev before this script is called mkdir /dev/pts mount -t devpts none /dev/pts