Displaylink: Difference between revisions

Mention that pre-sleep.service has the potential to block suspend
Sandro (talk | contribs)
Line 10: Line 10:
  displaylink
  displaylink
];
];
</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="nix">services.xserver.videoDrivers = [ "displaylink" "modesetting" ];</syntaxhighlight>The module <code>nixos/modules/hardware/video/displaylink.nix</code> should also work for wlroots compositors.


====<big>Xserver</big>====
====<big>Xserver</big>====
Line 119: Line 119:
};
};
</nowiki>}}
</nowiki>}}


==Sway==
==Sway==