boot.initrd.systemd.repart.device

NixOS option

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 in: nixos/modules/system/boot/systemd/repart.nixView source on NixOS/nixpkgs →