aboutsummaryrefslogtreecommitdiffhomepage
path: root/hst/template_test.go
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 /hst/template_test.go
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 'hst/template_test.go')
-rw-r--r--hst/template_test.go9
1 files changed, 9 insertions, 0 deletions
diff --git a/hst/template_test.go b/hst/template_test.go
index e3c36f58..76933783 100644
--- a/hst/template_test.go
+++ b/hst/template_test.go
@@ -104,6 +104,15 @@ func TestTemplate(t *testing.T) {
"perm": 493
},
{
+ "type": "overlay",
+ "dst": "/nix/store",
+ "lower": [
+ "/mnt-root/nix/.ro-store"
+ ],
+ "upper": "/mnt-root/nix/.rw-store/upper",
+ "work": "/mnt-root/nix/.rw-store/work"
+ },
+ {
"type": "bind",
"src": "/nix/store"
},