Merge pull request #147323 from Artturin/vmwareguest

authored by

Artturi and committed by
GitHub
f62e110a 5d6a70c2

+3 -2
+3 -2
nixos/modules/virtualisation/vmware-guest.nix
··· 34 34 systemd.services.vmware = 35 35 { description = "VMWare Guest Service"; 36 36 wantedBy = [ "multi-user.target" ]; 37 + after = [ "display-manager.service" ]; 38 + unitConfig.ConditionVirtualization = "vmware"; 37 39 serviceConfig.ExecStart = "${open-vm-tools}/bin/vmtoolsd"; 38 40 }; 39 41 ··· 42 44 { 43 45 description = "VMware vmblock fuse mount"; 44 46 documentation = [ "https://github.com/vmware/open-vm-tools/blob/master/open-vm-tools/vmblock-fuse/design.txt" ]; 45 - before = [ "vmware.service" ]; 46 - wants = [ "vmware.service" ]; 47 + unitConfig.ConditionVirtualization = "vmware"; 47 48 what = "${open-vm-tools}/bin/vmware-vmblock-fuse"; 48 49 where = "/run/vmblock-fuse"; 49 50 type = "fuse";