Use upstreaming displaylink
This commit is contained in:
parent
5297f8478a
commit
bc53468373
3 changed files with 7 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
{ pkgs, lib, config, nixos-hardware, ... }:
|
||||
{ pkgs, lib, config, nixos-hardware, displaylinknixpkgs, ... }:
|
||||
{
|
||||
config = {
|
||||
# UEFI works here, and variables can be touched
|
||||
|
@ -26,6 +26,11 @@
|
|||
nuit = "1";
|
||||
};
|
||||
};
|
||||
nixpkgs.overlays = [
|
||||
(self: super: {
|
||||
displaylink = (import displaylinknixpkgs { inherit (super) system; config.allowUnfree = true; }).displaylink;
|
||||
})
|
||||
];
|
||||
# Needs prefetched binary blobs, see https://nixos.wiki/wiki/Displaylink
|
||||
services.xserver.videoDrivers = [ "displaylink" "modesetting" ];
|
||||
# TODO See if nvidia and DL can work together.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue