MyNixOS website logo
option

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 https://www.freedesktop.org/software/systemd/man/repart.d.html for all available options.

Declarations
Type
attribute set of attribute set of (string or signed integer or boolean)
Default
{ }
Example
{
  "10-root" = {
    Type = "root";
  };
  "20-home" = {
    SizeMaxBytes = "2G";
    SizeMinBytes = "512M";
    Type = "home";
  };
}