services.swapspace.settings.cooldown
NixOS option
Duration (roughly in seconds) of the moratorium on swap allocation that is instated if disk space runs out, or the cooldown time after a new swapfile is successfully allocated before swapspace will consider deallocating swap space again. The default cooldown period is about 10 minutes.
type: unsigned integer, meaning >=0Default
declared in: nixos/modules/services/system/swapspace.nixView source on NixOS/nixpkgs →600