services.waagent.settings.ResourceDisk.EnableSwap
NixOS option
If enabled, the agent creates a swap file (/swapfile) on the resource disk and adds it to the system swap space. This configuration has no effect if resource disk is managed by cloud-init.
type: booleanDefault
declared in: nixos/modules/virtualisation/waagent.nixView source on NixOS/nixpkgs →false