Displaylink: Difference between revisions

remove note about pending pr that was merged https://github.com/NixOS/nixpkgs/pull/324121
instructions are in the nixpkgs derivation, requireFile
Line 4: Line 4:
</syntaxhighlight>The module <code>nixos/modules/hardware/video/displaylink.nix</code> should also work for wlroots compositors.
</syntaxhighlight>The module <code>nixos/modules/hardware/video/displaylink.nix</code> should also work for wlroots compositors.


Since these drivers depend on binary unfree blobs, you will need to first add it to your Nix store. Go to https://www.displaylink.com/downloads/ubuntu to get the appropriate driver version and note the download URL you get after accepting the EULA.
Since these drivers depend on binary unfree blobs, you will need to first add it to your Nix store.


As of 2024-05-01, the current latest version for the driver can be found at https://www.synaptics.com/products/displaylink-graphics/downloads/ubuntu-6.0?filetype=exe.
When you try to use `pkgs.displaylink` in your nixos system, you will get the instructions printed to the stderr, follow those to prefetch the driver.
 
After you have downloaded the driver, run something like the following, adjusting the version number in <code>displaylink-600.zip</code> to match the version supported in NixOS at the moment:<syntaxhighlight lang="console">
$ nix-prefetch-url --name displaylink-600.zip https://www.synaptics.com/sites/default/files/exe_files/2024-05/DisplayLink%20USB%20Graphics%20Software%20for%20Ubuntu6.0-EXE.zip
</syntaxhighlight>


====Connecting a second external monitor====
====Connecting a second external monitor====