Skip to content

Commit

Permalink
open-vm-tools: do not pull x dependencies unconditionally
Browse files Browse the repository at this point in the history
The "headless" configuration option is ignored because we unconditionally
reference pkgs.open-vm-tools.

This fixes that.
  • Loading branch information
peterhoeg committed Aug 15, 2017
1 parent 2f44cbc commit 698efcb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nixos/modules/virtualisation/vmware-guest.nix
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ in
serviceConfig.ExecStart = "${open-vm-tools}/bin/vmtoolsd";
};

environment.etc."vmware-tools".source = "${pkgs.open-vm-tools}/etc/vmware-tools/*";
environment.etc."vmware-tools".source = "${open-vm-tools}/etc/vmware-tools/*";

services.xserver = mkIf (!cfg.headless) {
videoDrivers = mkOverride 50 [ "vmware" ];
Expand Down

0 comments on commit 698efcb

Please sign in to comment.