Displaylink: Difference between revisions
Some restructuring and rephrasing |
Add dlm service |
||
Line 11: | Line 11: | ||
]; | ]; | ||
</syntaxhighlight>Then add the videoDrivers:<syntaxhighlight lang="nixos">services.xserver.videoDrivers = [ "displaylink" "modesetting" ];</syntaxhighlight>The module <code>nixos/modules/hardware/video/displaylink.nix</code> should also work for wlroots compositors. | </syntaxhighlight>Then add the videoDrivers:<syntaxhighlight lang="nixos">services.xserver.videoDrivers = [ "displaylink" "modesetting" ];</syntaxhighlight>The module <code>nixos/modules/hardware/video/displaylink.nix</code> should also work for wlroots compositors. | ||
At last - at least on Gnome using wayland you also have to enable ` dml` service<syntaxhighlight lang="nix"> | |||
systemd.services.dlm.wantedBy = [ "multi-user.target" ]; | |||
</syntaxhighlight> | |||
====Connecting a second external monitor==== | ====Connecting a second external monitor==== |