repart: fix whitespace in option descriptions (#406961)

authored by Arian van Putten and committed by GitHub 9bdca69e 9928d523

+7 -7
+7 -7
nixos/modules/image/repart.nix
··· 160 # Generated with `uuidgen`. Random but fixed to improve reproducibility. 161 default = "0867da16-f251-457d-a9e8-c31f9a3c220b"; 162 description = '' 163 - A UUID to use as a seed. You can set this to `null` to explicitly 164 randomize the partition UUIDs. 165 ''; 166 }; ··· 169 type = lib.types.bool; 170 default = false; 171 description = '' 172 - Enables generation of split artifacts from partitions. If enabled, for 173 each partition with SplitName= set, a separate output file containing 174 just the contents of that partition is generated. 175 ''; ··· 180 default = 512; 181 example = lib.literalExpression "4096"; 182 description = '' 183 - The sector size of the disk image produced by systemd-repart. This 184 value must be a power of 2 between 512 and 4096. 185 ''; 186 }; ··· 199 type = with lib.types; attrsOf (submodule partitionOptions); 200 default = { }; 201 example = lib.literalExpression '' 202 - { 203 "10-esp" = { 204 contents = { 205 "/EFI/BOOT/BOOTX64.EFI".source = ··· 221 }; 222 ''; 223 description = '' 224 - Specify partitions as a set of the names of the partitions with their 225 configuration as the key. 226 ''; 227 }; ··· 230 type = with lib.types; attrsOf (listOf str); 231 default = { }; 232 example = lib.literalExpression '' 233 - { 234 vfat = [ "-S 512" "-c" ]; 235 } 236 ''; 237 description = '' 238 - Specify extra options for created file systems. The specified options 239 are converted to individual environment variables of the format 240 `SYSTEMD_REPART_MKFS_OPTIONS_<FSTYPE>`. 241
··· 160 # Generated with `uuidgen`. Random but fixed to improve reproducibility. 161 default = "0867da16-f251-457d-a9e8-c31f9a3c220b"; 162 description = '' 163 + A UUID to use as a seed. You can set this to `null` to explicitly 164 randomize the partition UUIDs. 165 ''; 166 }; ··· 169 type = lib.types.bool; 170 default = false; 171 description = '' 172 + Enables generation of split artifacts from partitions. If enabled, for 173 each partition with SplitName= set, a separate output file containing 174 just the contents of that partition is generated. 175 ''; ··· 180 default = 512; 181 example = lib.literalExpression "4096"; 182 description = '' 183 + The sector size of the disk image produced by systemd-repart. This 184 value must be a power of 2 between 512 and 4096. 185 ''; 186 }; ··· 199 type = with lib.types; attrsOf (submodule partitionOptions); 200 default = { }; 201 example = lib.literalExpression '' 202 + { 203 "10-esp" = { 204 contents = { 205 "/EFI/BOOT/BOOTX64.EFI".source = ··· 221 }; 222 ''; 223 description = '' 224 + Specify partitions as a set of the names of the partitions with their 225 configuration as the key. 226 ''; 227 }; ··· 230 type = with lib.types; attrsOf (listOf str); 231 default = { }; 232 example = lib.literalExpression '' 233 + { 234 vfat = [ "-S 512" "-c" ]; 235 } 236 ''; 237 description = '' 238 + Specify extra options for created file systems. The specified options 239 are converted to individual environment variables of the format 240 `SYSTEMD_REPART_MKFS_OPTIONS_<FSTYPE>`. 241