boot.initrd.systemd.repart.device

The device to operate on.

If device == null, systemd-repart will operate on the device backing the root partition. So in order to dynamically create the root partition in the initrd you need to set a device.

Type
null or string
Default
null
Example
"/dev/vda"
Declared
<nixpkgs/nixos/modules/system/boot/systemd/repart.nix>