modules/persist: ensure backing directory is created *before* we mount
This commit is contained in:
parent
6865331b48
commit
52b8cd0209
|
@ -292,6 +292,7 @@ let
|
|||
# x-systemd options documented here:
|
||||
# - <https://www.freedesktop.org/software/systemd/man/systemd.mount.html>
|
||||
]
|
||||
++ (builtins.map (unit: "x-systemd.after=${unit}") requires)
|
||||
++ (builtins.map (unit: "x-systemd.requires=${unit}") requires)
|
||||
++ (builtins.map (unit: "x-systemd.before=${unit}") opt.wantedBeforeBy)
|
||||
++ (builtins.map (unit: "x-systemd.wanted-by=${unit}") (opt.wantedBy ++ opt.wantedBeforeBy));
|
||||
|
|
Loading…
Reference in New Issue