Merge pull request #147654 from NixOS/backport-147323-to-release-21.11

[Backport release-21.11] nixos/vmware-guest: add display-manager to after and
This commit is contained in:
Artturi
2021-11-28 07:29:03 +02:00
committed by GitHub

View File

@@ -34,6 +34,8 @@ in
systemd.services.vmware =
{ description = "VMWare Guest Service";
wantedBy = [ "multi-user.target" ];
after = [ "display-manager.service" ];
unitConfig.ConditionVirtualization = "vmware";
serviceConfig.ExecStart = "${open-vm-tools}/bin/vmtoolsd";
};
@@ -42,8 +44,7 @@ in
{
description = "VMware vmblock fuse mount";
documentation = [ "https://github.com/vmware/open-vm-tools/blob/master/open-vm-tools/vmblock-fuse/design.txt" ];
before = [ "vmware.service" ];
wants = [ "vmware.service" ];
unitConfig.ConditionVirtualization = "vmware";
what = "${open-vm-tools}/bin/vmware-vmblock-fuse";
where = "/run/vmblock-fuse";
type = "fuse";