swapDevices.*.priority
NixOS option
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 integerDefault
null
Example
declared in: nixos/modules/config/swap.nixView source on NixOS/nixpkgs →2048