Optionally back /tmp and /var/tmp with stable host directories

This commit is contained in:
2026-05-15 01:36:58 +02:00
parent 28e68b0fff
commit 3fb0da0577
13 changed files with 839 additions and 52 deletions
+6
View File
@@ -34,6 +34,12 @@ rw = [
]
# mask = ["~/.ssh"] # hide path with tmpfs/over /dev/null
persistent-tmp = true # back /tmp and /var/tmp with host dirs that survive
# across runs (key derived from profile+cwd).
# No-op in blacklist mode (which already shares host /tmp).
# persistent-key = "shared" # override the derived key — e.g. to share state
# across profiles or after moving the project dir
env = [
"XDG_RUNTIME_DIR", # KEY -> pass through from host if set
# "DEBUG=", # KEY= -> set to empty string