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 integer
Default
null
Example
2048
declared in: nixos/modules/config/swap.nixView source on NixOS/nixpkgs →