diff options
author | worldofpeace <worldofpeace@protonmail.ch> | 2019-07-11 13:15:51 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-11 13:15:51 -0400 |
commit | a6ce6c10525f38aadd2c3a8376c2b1a3c16668ec (patch) | |
tree | 7e5f0a0143eb63296c6a30025889274298c069b2 /nixos/modules/virtualisation | |
parent | 1036dc664169b32613ec11b58cc1740c7511a340 (diff) | |
parent | 370d3af0c40c30f1dad763c35a2db637f70e6176 (diff) |
Merge pull request #61981 from ambrop72/no-opengl-ld-library-path
nixos: Don't set LD_LIBRARY_PATH for graphics drivers that don't need it.
Diffstat (limited to 'nixos/modules/virtualisation')
-rw-r--r-- | nixos/modules/virtualisation/parallels-guest.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/nixos/modules/virtualisation/parallels-guest.nix b/nixos/modules/virtualisation/parallels-guest.nix index 4e0f2cae299..828419fb4b9 100644 --- a/nixos/modules/virtualisation/parallels-guest.nix +++ b/nixos/modules/virtualisation/parallels-guest.nix @@ -47,7 +47,7 @@ in config = mkIf config.hardware.parallels.enable { services.xserver = { drivers = singleton - { name = "prlvideo"; modules = [ prl-tools ]; libPath = [ prl-tools ]; }; + { name = "prlvideo"; modules = [ prl-tools ]; }; screenSection = '' Option "NoMTRR" @@ -65,6 +65,7 @@ in hardware.opengl.package = prl-tools; hardware.opengl.package32 = pkgs.pkgsi686Linux.linuxPackages.prl-tools.override { libsOnly = true; kernel = null; }; + hardware.opengl.setLdLibraryPath = true; services.udev.packages = [ prl-tools ]; |