image.repart.mkfsOptions

Specify extra options for created file systems. The specified options are converted to individual environment variables of the format SYSTEMD_REPART_MKFS_OPTIONS_<FSTYPE>.

See upstream systemd documentation for information about the usage of these environment variables.

The example would produce the following environment variable:

SYSTEMD_REPART_MKFS_OPTIONS_VFAT="-S 512 -c"
Type
attribute set of list of string
Default
{ }
Example
{
  vfat = [ "-S 512" "-c" ];
}
Declared
<nixpkgs/nixos/modules/image/repart.nix>