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
1 changed files with 4 additions and 0 deletions
|
@ -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 a new issue