Specify partitions as a set of the names of the partitions with their configuration as the key.
Declarations
Type
attribute set of (submodule)
Default
{ }
Example
{
"10-esp" = {
contents = {
"/EFI/BOOT/BOOTX64.EFI".source =
"${pkgs.systemd}/lib/systemd/boot/efi/systemd-bootx64.efi";
}
repartConfig = {
Type = "esp";
Format = "fat";
};
};
"20-root" = {
storePaths = [ config.system.build.toplevel ];
repartConfig = {
Type = "root";
Format = "ext4";
Minimize = "guess";
};
};
};