From 9ed3ba85eaba4bc4bd12b290dc4daf00ffe159dc Mon Sep 17 00:00:00 2001 From: Ophestra Date: Fri, 15 Aug 2025 03:30:51 +0900 Subject: hst/fs: implement overlay fstype This finally exposes overlay mounts in the high level hakurei API. Signed-off-by: Ophestra --- test/sandbox/configuration.nix | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'test/sandbox/configuration.nix') 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; -- cgit v1.3.1