services.libvirtd.autoSnapshot.vms
NixOS option
If specified only the list of VMs will be snapshotted else all existing one. Each entry can be either: A string (VM name, uses default settings) An attribute set with VM configuration
type: null or (list of (string or (submodule)))Default
null
Example
declared in: nixos/modules/services/backup/libvirtd-autosnapshot.nixView source on NixOS/nixpkgs →[
"myvm1" # Uses defaults
{
name = "myvm2";
keep = 30; # Override retention
}
]