Use upstreaming displaylink
This commit is contained in:
parent
5297f8478a
commit
bc53468373
|
@ -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.
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
inputs = {
|
||||
# Packages
|
||||
nixpkgs.url = "nixpkgs/nixos-24.05";
|
||||
displaylinknixpkgs.url = "github:GeoffreyFrogeye/nixpkgs/displaylink-600";
|
||||
# OS
|
||||
disko = {
|
||||
url = "disko";
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
/nix/store/6887mr1xmcjgb99saw2ilv2mfjb8s2xq-nixos-system-curacao-24.05.20240531.805a384
|
Loading…
Reference in a new issue