swapDevices.*.priority

Specify the priority of the swap device. Priority is a value between 0 and 32767. Higher numbers indicate higher priority. null lets the kernel choose a priority, which will show up as a negative value.

Type
null or signed integer
Default
null
Example
2048
Declared
<nixpkgs/nixos/modules/config/swap.nix>