mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-12 04:35:41 +03:00
nixos/vmware-guest: add display-manager to after and
add ConditionVirtualization and remove unneeded before and wants which are not in the upstream package, the wantedBy should be enough
This commit is contained in:
parent
1269aeb705
commit
21585dc683
1 changed files with 3 additions and 2 deletions
|
@ -34,6 +34,8 @@ in
|
||||||
systemd.services.vmware =
|
systemd.services.vmware =
|
||||||
{ description = "VMWare Guest Service";
|
{ description = "VMWare Guest Service";
|
||||||
wantedBy = [ "multi-user.target" ];
|
wantedBy = [ "multi-user.target" ];
|
||||||
|
after = [ "display-manager.service" ];
|
||||||
|
unitConfig.ConditionVirtualization = "vmware";
|
||||||
serviceConfig.ExecStart = "${open-vm-tools}/bin/vmtoolsd";
|
serviceConfig.ExecStart = "${open-vm-tools}/bin/vmtoolsd";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -42,8 +44,7 @@ in
|
||||||
{
|
{
|
||||||
description = "VMware vmblock fuse mount";
|
description = "VMware vmblock fuse mount";
|
||||||
documentation = [ "https://github.com/vmware/open-vm-tools/blob/master/open-vm-tools/vmblock-fuse/design.txt" ];
|
documentation = [ "https://github.com/vmware/open-vm-tools/blob/master/open-vm-tools/vmblock-fuse/design.txt" ];
|
||||||
before = [ "vmware.service" ];
|
unitConfig.ConditionVirtualization = "vmware";
|
||||||
wants = [ "vmware.service" ];
|
|
||||||
what = "${open-vm-tools}/bin/vmware-vmblock-fuse";
|
what = "${open-vm-tools}/bin/vmware-vmblock-fuse";
|
||||||
where = "/run/vmblock-fuse";
|
where = "/run/vmblock-fuse";
|
||||||
type = "fuse";
|
type = "fuse";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue