diff --git a/lib/types/mdadm.nix b/lib/types/mdadm.nix index 6769830..9749fe1 100644 --- a/lib/types/mdadm.nix +++ b/lib/types/mdadm.nix @@ -44,7 +44,7 @@ "''${disk_devices[@]}" udevadm trigger --subsystem-match=block udevadm settle - # for some reason mdadm devices spwan with an existing partition table, so we need to wipe it + # for some reason mdadm devices spawn with an existing partition table, so we need to wipe it sgdisk --zap-all /dev/md/${config.name} ${lib.optionalString (config.content != null) config.content._create} '';