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.
This commit is contained in:
parent
2f44cbc1ad
commit
698efcb7b5
@ -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" ];
|
||||
|
Loading…
Reference in New Issue
Block a user