swapDevices.*.device

NixOS option

Path of the device or swap file.

type: non-empty string
Example
"/dev/sda3"
declared in: nixos/modules/config/swap.nixView source on NixOS/nixpkgs →