MyNixOS website logo
option

virtualisation.rootDevice

The path (inside the VM) to the device containing the root filesystem.

Declarations
Type
null or path
Default
/dev/disk/by-label/nixos
Example
"/dev/disk/by-label/nixos"