nixos/hyperv: bail gracefully if device is missing
This commit is contained in:
parent
01d55fcd5e
commit
ce93de4f62
@ -56,6 +56,8 @@ in {
|
||||
systemd = {
|
||||
packages = [ config.boot.kernelPackages.hyperv-daemons.lib ];
|
||||
|
||||
services.hv-vss.unitConfig.ConditionPathExists = [ "/dev/vmbus/hv_vss" ];
|
||||
|
||||
targets.hyperv-daemons = {
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user