virtualisation: shutdown on shutdown

This commit is contained in:
Kabbone 2023-03-11 09:48:31 +01:00
parent c5c9dcd5bd
commit 988e533772
Signed by: Kabbone
SSH Key Fingerprint: SHA256:A5zPB5I6u5V78V51c362BBdCwhDhfDUVbt7NfKdjWBY

View File

@ -17,6 +17,7 @@
vswitch.enable = true; vswitch.enable = true;
libvirtd = { libvirtd = {
enable = true; # Virtual drivers enable = true; # Virtual drivers
onShutdown = "shutdown";
#qemuPackage = pkgs.qemu_kvm; # Default #qemuPackage = pkgs.qemu_kvm; # Default
qemu = { qemu = {
runAsRoot = false; runAsRoot = false;