virtualisation.libvirtd.onShutdown

NixOS option

When shutting down / restarting the host what method should be used to gracefully halt the guests. Setting to “shutdown” will cause an ACPI shutdown of each guest. “suspend” will attempt to save the state of the guests ready to restore on boot.

type: one of "shutdown", "suspend"
Default
"suspend"
declared in: nixos/modules/virtualisation/libvirtd.nixView source on NixOS/nixpkgs →