From 64898eada866a1ce173edb37686b3564876d3fcb Mon Sep 17 00:00:00 2001 From: Daniel Barlow Date: Thu, 4 Jan 2024 23:22:02 +0000 Subject: [PATCH] mount tmpfs on /tmp too much stuff doesn't work without it and it's not all worth patching --- modules/base.nix | 1 + modules/s6/scripts/rc.init | 1 + 2 files changed, 2 insertions(+) diff --git a/modules/base.nix b/modules/base.nix index 521bfb2a..11357ab0 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 d689282c..7b5bfd1e 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