git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #147323 from Artturin/vmwareguest
commitf62e110ae4f3b7b158c97ccfbd486ab8038414ff authorArtturi <Artturin@artturin.com> dateSun 28 Nov 2021, 06:56 (5 years ago) parent5d6a70c21585dc
1 file changed+3−2
nixos/modules/virtualisation/vmware-guest.nix+3−2
nixos/modules/virtualisation/vmware-guest.nix+3−2
@@ -34,6 +34,8 @@ in
3434 systemd.services.vmware =
3535 { description = "VMWare Guest Service";
3636 wantedBy = [ "multi-user.target" ];
37+ after = [ "display-manager.service" ];
38+ unitConfig.ConditionVirtualization = "vmware";
3739 serviceConfig.ExecStart = "${open-vm-tools}/bin/vmtoolsd";
3840 };
3941
@@ -42,8 +44,7 @@ in
4244 {
4345 description = "VMware vmblock fuse mount";
4446 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";
4748 what = "${open-vm-tools}/bin/vmware-vmblock-fuse";
4849 where = "/run/vmblock-fuse";
4950 type = "fuse";