MyNixOS website logo
option

fileSystems.<name>.depends

List of paths that should be mounted before this one. This filesystem's device and mountPoint are always checked and do not need to be included explicitly. If a path is added to this list, any other filesystem whose mount point is a parent of the path will be mounted before this filesystem. The paths do not need to actually be the mountPoint of some other filesystem.

Declarations
Type
list of string (with check: non-empty without trailing slash)
Default
[ ]
Example
[
  "/persist"
]