modularize displaylink
This commit is contained in:
parent
44b0e572c7
commit
73fcd3dc7c
3 changed files with 12 additions and 6 deletions
|
@ -108,12 +108,6 @@ in {
|
||||||
inherit (inputs.work-secrets.proxy) default noProxy;
|
inherit (inputs.work-secrets.proxy) default noProxy;
|
||||||
};
|
};
|
||||||
|
|
||||||
services.xserver.videoDrivers = [ "displaylink" "modesetting" ];
|
|
||||||
boot = {
|
|
||||||
extraModulePackages = [ config.boot.kernelPackages.evdi ];
|
|
||||||
kernelModules = [ "evdi" ];
|
|
||||||
};
|
|
||||||
|
|
||||||
# for vpn-slice
|
# for vpn-slice
|
||||||
environment.etc.hosts.mode = "0644";
|
environment.etc.hosts.mode = "0644";
|
||||||
|
|
||||||
|
|
|
@ -14,6 +14,7 @@
|
||||||
../../options/common/preserve-system.nix
|
../../options/common/preserve-system.nix
|
||||||
../../options/common/timezone.nix
|
../../options/common/timezone.nix
|
||||||
../../options/desktop/bluetooth.nix
|
../../options/desktop/bluetooth.nix
|
||||||
|
../../options/desktop/displaylink.nix
|
||||||
../../options/desktop/dev/malloc-perturb.nix
|
../../options/desktop/dev/malloc-perturb.nix
|
||||||
../../options/desktop/fonts.nix
|
../../options/desktop/fonts.nix
|
||||||
../../options/desktop/suspend.nix
|
../../options/desktop/suspend.nix
|
||||||
|
|
11
options/desktop/displaylink.nix
Normal file
11
options/desktop/displaylink.nix
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
{
|
||||||
|
config,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
services.xserver.videoDrivers = [ "displaylink" "modesetting" ];
|
||||||
|
|
||||||
|
boot = {
|
||||||
|
extraModulePackages = [ config.boot.kernelPackages.evdi ];
|
||||||
|
kernelModules = [ "evdi" ];
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue