about summary refs log tree commit diff
path: root/nixos/modules/virtualisation
diff options
context:
space:
mode:
authorPeter Hoeg <peter@hoeg.com>2017-08-15 17:04:04 +0800
committerPeter Hoeg <peter@hoeg.com>2017-08-15 17:05:30 +0800
commit698efcb7b5e556e36711ec7a612b1fccdb3eb47f (patch)
treea290f5a1925c6452aa9326ef5e727b61c6d1e97c /nixos/modules/virtualisation
parent2f44cbc1ad88c52407d986975dc80fe547b69bbd (diff)
downloadnixlib-698efcb7b5e556e36711ec7a612b1fccdb3eb47f.tar
nixlib-698efcb7b5e556e36711ec7a612b1fccdb3eb47f.tar.gz
nixlib-698efcb7b5e556e36711ec7a612b1fccdb3eb47f.tar.bz2
nixlib-698efcb7b5e556e36711ec7a612b1fccdb3eb47f.tar.lz
nixlib-698efcb7b5e556e36711ec7a612b1fccdb3eb47f.tar.xz
nixlib-698efcb7b5e556e36711ec7a612b1fccdb3eb47f.tar.zst
nixlib-698efcb7b5e556e36711ec7a612b1fccdb3eb47f.zip
open-vm-tools: do not pull x dependencies unconditionally
The "headless" configuration option is ignored because we unconditionally
reference pkgs.open-vm-tools.

This fixes that.
Diffstat (limited to 'nixos/modules/virtualisation')
-rw-r--r--nixos/modules/virtualisation/vmware-guest.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/virtualisation/vmware-guest.nix b/nixos/modules/virtualisation/vmware-guest.nix
index ce1224a8f131..68930a0e3254 100644
--- a/nixos/modules/virtualisation/vmware-guest.nix
+++ b/nixos/modules/virtualisation/vmware-guest.nix
@@ -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" ];