specialFileSystems
boot.specialFileSystems.<name>.depends
List of paths that should be mounted before this one. This filesystem's
{option}device
and {option}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 {option}mountPoint
of some other filesystem.
Type: list of string (with check: non-empty without trailing slash)
Default
[ ]
Example
["/persist"]
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/tasks/filesystems.nix
boot.specialFileSystems.<name>.device
Location of the device.
Type: null or string (with check: non-empty)
Default
null
Example
"/dev/sda"
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/tasks/filesystems.nix
boot.specialFileSystems.<name>.fsType
Type of the file system.
Type: string (with check: non-empty)
Default
"auto"
Example
"ext3"
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/tasks/filesystems.nix
boot.specialFileSystems.<name>.mountPoint
Location of the mounted file system.
Type: string (with check: non-empty without trailing slash)
Example
"/mnt/usb"
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/tasks/filesystems.nix
boot.specialFileSystems.<name>.options
Options used to mount the file system.
Type: non-empty (list of string (with check: non-empty))
Default
["defaults"]
Example
["data=journal"]
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/tasks/filesystems.nix
boot.specialFileSystems.<name>.stratis.poolUuid
UUID of the stratis pool that the fs is located in
Type: null or string
Default
null
Example
"04c68063-90a5-4235-b9dd-6180098a20d9"
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/tasks/filesystems.nix