modularize displaylink

This commit is contained in:
jacekpoz 2024-08-30 20:14:52 +02:00
parent 44b0e572c7
commit 73fcd3dc7c
Signed by: poz
SSH key fingerprint: SHA256:JyLeVWE4bF3tDnFeUpUaJsPsNlJyBldDGV/dIKSLyN8
3 changed files with 12 additions and 6 deletions

View file

@ -108,12 +108,6 @@ in {
inherit (inputs.work-secrets.proxy) default noProxy;
};
services.xserver.videoDrivers = [ "displaylink" "modesetting" ];
boot = {
extraModulePackages = [ config.boot.kernelPackages.evdi ];
kernelModules = [ "evdi" ];
};
# for vpn-slice
environment.etc.hosts.mode = "0644";

View file

@ -14,6 +14,7 @@
../../options/common/preserve-system.nix
../../options/common/timezone.nix
../../options/desktop/bluetooth.nix
../../options/desktop/displaylink.nix
../../options/desktop/dev/malloc-perturb.nix
../../options/desktop/fonts.nix
../../options/desktop/suspend.nix

View file

@ -0,0 +1,11 @@
{
config,
...
}: {
services.xserver.videoDrivers = [ "displaylink" "modesetting" ];
boot = {
extraModulePackages = [ config.boot.kernelPackages.evdi ];
kernelModules = [ "evdi" ];
};
}