diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-10-11 13:59:10 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-10-11 13:59:10 +0900 |
| commit | 8874aaf81b6d8028bd4dc3d4a1f09bf16b349085 (patch) | |
| tree | 0c2a918487a5b595a9675f17893f9c5aa8f60c29 /hst | |
| parent | 04a27c8e475c084b7dc94b00f57d7fd77201ee57 (diff) | |
hst: remove template bind nix store
This does not add anything meaningful to the template, since there are already prior examples showing src-only bind ops. Remove this since it causes confusion by covering the previous mount point targeting /nix/store.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'hst')
| -rw-r--r-- | hst/hst.go | 1 | ||||
| -rw-r--r-- | hst/hst_test.go | 4 |
2 files changed, 0 insertions, 5 deletions
@@ -121,7 +121,6 @@ func Template() *Config { Upper: fhs.AbsVarLib.Append("hakurei/nix/u0/org.chromium.Chromium/rw-store/upper"), Work: fhs.AbsVarLib.Append("hakurei/nix/u0/org.chromium.Chromium/rw-store/work"), }}, - {&FSBind{Source: check.MustAbs("/nix/store")}}, {&FSLink{Target: fhs.AbsRun.Append("current-system"), Linkname: "/run/current-system", Dereference: true}}, {&FSLink{Target: fhs.AbsRun.Append("opengl-driver"), Linkname: "/run/opengl-driver", Dereference: true}}, {&FSBind{Source: fhs.AbsVarLib.Append("hakurei/u0/org.chromium.Chromium"), diff --git a/hst/hst_test.go b/hst/hst_test.go index 301704bf..247df2c1 100644 --- a/hst/hst_test.go +++ b/hst/hst_test.go @@ -199,10 +199,6 @@ func TestTemplate(t *testing.T) { "work": "/var/lib/hakurei/nix/u0/org.chromium.Chromium/rw-store/work" }, { - "type": "bind", - "src": "/nix/store" - }, - { "type": "link", "dst": "/run/current-system", "linkname": "/run/current-system", |
