diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-05-16 04:38:08 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-05-16 04:40:12 +0900 |
| commit | f30a439bcd6aa97fac0f99cdd94381ae025aa64d (patch) | |
| tree | 9e340298cc0b8a7011fea40cc50b0db710593496 /test/sandbox/case/tty.nix | |
| parent | 008e9e7fc59398c13376728511f2df78e4c8b321 (diff) | |
nix: improve common usability
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'test/sandbox/case/tty.nix')
| -rw-r--r-- | test/sandbox/case/tty.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/sandbox/case/tty.nix b/test/sandbox/case/tty.nix index ab50d420..72b2c295 100644 --- a/test/sandbox/case/tty.nix +++ b/test/sandbox/case/tty.nix @@ -8,6 +8,7 @@ tty = true; device = false; mapRealUid = false; + useCommonPaths = true; want = { env = [ @@ -194,6 +195,7 @@ } null; } null; run = fs "800001ed" { nscd = fs "800001ed" { } null; } null; + cache = fs "800001ed" { private = fs "800001c0" null null; } null; } null; } null; @@ -220,6 +222,7 @@ (ent "/dev" "/sys/dev" "ro,nosuid,nodev,noexec,relatime" "sysfs" "sysfs" "rw") (ent "/devices" "/sys/devices" "ro,nosuid,nodev,noexec,relatime" "sysfs" "sysfs" "rw") (ent "/dri" "/dev/dri" "rw,nosuid" "devtmpfs" "devtmpfs" ignore) + (ent "/var/cache" "/var/cache" "rw,nosuid,nodev,relatime" "ext4" "/dev/disk/by-label/nixos" "rw") (ent "/etc" ignore "ro,nosuid,nodev,relatime" "ext4" "/dev/disk/by-label/nixos" "rw") (ent "/" "/run/user" "rw,nosuid,nodev,relatime" "tmpfs" "tmpfs" "rw,size=4k,mode=755,uid=1000002,gid=1000002") (ent "/" "/run/user/65534" "rw,nosuid,nodev,relatime" "tmpfs" "tmpfs" "rw,size=8192k,mode=700,uid=1000002,gid=1000002") |
