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 stringDefault
null
Example
declared in: nixos/modules/tasks/encrypted-devices.nixView source on NixOS/nixpkgs →"rootfs"