services.swapspace.settings.cooldown

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 >=0
Default
600
Declared
<nixpkgs/nixos/modules/services/system/swapspace.nix>