aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/sandbox/configuration.nix
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2025-08-15 03:30:51 +0900
committerOphestra <cat@gensokyo.uk>2025-08-15 04:00:55 +0900
commit9ed3ba85eaba4bc4bd12b290dc4daf00ffe159dc (patch)
tree03301910c40c59eb94029f1a93b1e74e21b5226a /test/sandbox/configuration.nix
parent4433c993fae86634b813ee212803a84aaeedd374 (diff)
hst/fs: implement overlay fstype
This finally exposes overlay mounts in the high level hakurei API. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'test/sandbox/configuration.nix')
-rw-r--r--test/sandbox/configuration.nix18
1 files changed, 18 insertions, 0 deletions
diff --git a/test/sandbox/configuration.nix b/test/sandbox/configuration.nix
index fae60ac2..977d8546 100644
--- a/test/sandbox/configuration.nix
+++ b/test/sandbox/configuration.nix
@@ -82,6 +82,24 @@ in
src = "/var/cache";
write = true;
}
+ {
+ type = "overlay";
+ dst = "/.hakurei/.ro-store";
+ lower = [
+ "/nix/.ro-store"
+ "/nix/.rw-store/upper"
+ ];
+ }
+ {
+ type = "overlay";
+ dst = "/.hakurei/store";
+ lower = [
+ "/nix/.ro-store"
+ "/nix/.rw-store/upper"
+ ];
+ upper = "/tmp/.hakurei-store-rw/upper";
+ work = "/tmp/.hakurei-store-rw/work";
+ }
];
inherit (testCases) apps;