Add displaylink module
This commit is contained in:
parent
1645234f28
commit
0be79ce62d
2 changed files with 14 additions and 0 deletions
|
|
@ -37,6 +37,7 @@
|
||||||
../../modules/optical-media.nix
|
../../modules/optical-media.nix
|
||||||
../../modules/flatpak.nix
|
../../modules/flatpak.nix
|
||||||
../../modules/gaming.nix
|
../../modules/gaming.nix
|
||||||
|
../../modules/displaylink.nix
|
||||||
|
|
||||||
# Include the results of the hardware scan.
|
# Include the results of the hardware scan.
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
|
|
|
||||||
13
modules/displaylink.nix
Normal file
13
modules/displaylink.nix
Normal file
|
|
@ -0,0 +1,13 @@
|
||||||
|
{
|
||||||
|
pkgs,
|
||||||
|
lib,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
displaylink
|
||||||
|
];
|
||||||
|
|
||||||
|
services.xserver.videoDrivers = [ "displaylink" "modesetting" ];
|
||||||
|
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue