hst/fs: implement overlay fstype
All checks were successful
Test / Create distribution (push) Successful in 33s
Test / Sandbox (push) Successful in 2m8s
Test / Hakurei (push) Successful in 3m8s
Test / Hpkg (push) Successful in 3m59s
Test / Sandbox (race detector) (push) Successful in 4m20s
Test / Hakurei (race detector) (push) Successful in 5m1s
Test / Flake checks (push) Successful in 1m27s

This finally exposes overlay mounts in the high level hakurei API.

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2025-08-15 03:30:51 +09:00
parent 4433c993fa
commit 9ed3ba85ea
12 changed files with 253 additions and 3 deletions

View File

@@ -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;