aboutsummaryrefslogtreecommitdiffhomepage
path: root/hst/hst_test.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2025-08-25 22:21:16 +0900
committerOphestra <cat@gensokyo.uk>2025-08-25 22:23:54 +0900
commit9585b35d5b4e91bb327e3eddb229d1b711eeec2f (patch)
tree6480edb4c1ec02e31c84be82cf66c41e479731c7 /hst/hst_test.go
parent26cafe3e8066d9ae65230ff0aa17a5533cfa92f8 (diff)
hst/config: remove symlink field
Closes #6. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'hst/hst_test.go')
-rw-r--r--hst/hst_test.go18
1 files changed, 8 insertions, 10 deletions
diff --git a/hst/hst_test.go b/hst/hst_test.go
index 553533b0..fec189a9 100644
--- a/hst/hst_test.go
+++ b/hst/hst_test.go
@@ -135,12 +135,16 @@ func TestTemplate(t *testing.T) {
"src": "/nix/store"
},
{
- "type": "bind",
- "src": "/run/current-system"
+ "type": "link",
+ "dst": "/run/current-system",
+ "linkname": "/run/current-system",
+ "dereference": true
},
{
- "type": "bind",
- "src": "/run/opengl-driver"
+ "type": "link",
+ "dst": "/run/opengl-driver",
+ "linkname": "/run/opengl-driver",
+ "dereference": true
},
{
"type": "bind",
@@ -154,12 +158,6 @@ func TestTemplate(t *testing.T) {
"dev": true,
"optional": true
}
- ],
- "symlink": [
- {
- "target": "/run/user/65534",
- "linkname": "/run/user/150"
- }
]
}
}`