swapDevices.*.encrypted.label

NixOS option

Label of the unlocked encrypted device. Set fileSystems.<name?>.device to /dev/mapper/<label> to mount the unlocked device.

type: null or string
Default
null
Example
"rootfs"
declared in: nixos/modules/tasks/encrypted-devices.nixView source on NixOS/nixpkgs →