systemd.repart.partitions

Specify partitions as a set of the names of the definition files as the key and the partition configuration as its value. The partition configuration can use all upstream options. See repart.d(5) for all available options.

Type
attribute set of attribute set of (string or signed integer or boolean or list of string)
Default
{ }
Example
{
  "10-root" = {
    Type = "root";
  };
  "20-home" = {
    SizeMaxBytes = "2G";
    SizeMinBytes = "512M";
    Type = "home";
  };
}
Declared
<nixpkgs/nixos/modules/system/boot/systemd/repart.nix>