forked from security/hakurei
hst/fs: implement overlay fstype
This finally exposes overlay mounts in the high level hakurei API. Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user