mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +00:00
nixos/libvirtd: provide path to cloud-hypervisor for virtchd.service
Otherwise, starting this daemon fails with the message ``` virtchd[3484224]: Initialization of mandatory cloud-hypervisor state driver skipped virtchd[3484224]: Driver state initialization failed ``` Fixes #167850
This commit is contained in:
parent
234bc94648
commit
37a8a582d7
@ -344,6 +344,10 @@ in
|
||||
restartIfChanged = false;
|
||||
};
|
||||
|
||||
systemd.services.virtchd = {
|
||||
path = [ pkgs.cloud-hypervisor ];
|
||||
};
|
||||
|
||||
systemd.services.libvirt-guests = {
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
path = with pkgs; [ coreutils gawk cfg.package ];
|
||||
|
Loading…
Reference in New Issue
Block a user