diff --git a/ops/nixos/cofractal-ams01/default.nix b/ops/nixos/cofractal-ams01/default.nix index 0cc5ec7f22..3521c6f35c 100644 --- a/ops/nixos/cofractal-ams01/default.nix +++ b/ops/nixos/cofractal-ams01/default.nix @@ -180,8 +180,9 @@ in where = dir; }; bindMountSvc = dir: svc: (bindMount' dir) // { - bindsTo = [svc]; - partOf = [svc]; + requiredBy = [svc]; + before = [svc]; + wantedBy = ["multi-user.target"]; }; bindMountSvcDynamic = dir: svc: (bindMount' "/var/lib/private/${dir}") // { requiredBy = [svc];