nixos/libvirt-guests: remove unexpected service dependency on libvirtd.service

Remove service dependency that caused VMs to get suspended/shudown on libvirtd service stop/restart.

This behaviour is unexpected. The `libvirt-guests.service` is expected
to suspend/shutdown libvirt guests on host system shutdown - not on
libvirtd service shutdown.

this resolves https://github.com/NixOS/nixpkgs/issues/485136
This commit is contained in:
Marcel Sackermann
2026-01-29 22:33:51 +01:00
parent 2bb57ed7e7
commit a21ce409cf
@@ -549,7 +549,6 @@ in
systemd.services.libvirt-guests = {
wantedBy = [ "multi-user.target" ];
requires = [ "libvirtd.service" ];
after = [ "libvirtd.service" ];
path = with pkgs; [
coreutils