swapDevices.*.label

NixOS option

Label of the device. Can be used instead of device.

type: string
Example
"swap"
declared in: nixos/modules/config/swap.nixView source on NixOS/nixpkgs →