nixos/hardware.displaylink: remove with lib;
This commit is contained in:
parent
8470a58158
commit
500d530cf8
@ -1,10 +1,7 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
with lib;
|
||||
|
||||
let
|
||||
|
||||
enabled = elem "displaylink" config.services.xserver.videoDrivers;
|
||||
enabled = lib.elem "displaylink" config.services.xserver.videoDrivers;
|
||||
|
||||
evdi = config.boot.kernelPackages.evdi;
|
||||
|
||||
@ -16,7 +13,7 @@ in
|
||||
|
||||
{
|
||||
|
||||
config = mkIf enabled {
|
||||
config = lib.mkIf enabled {
|
||||
|
||||
boot.extraModulePackages = [ evdi ];
|
||||
boot.kernelModules = [ "evdi" ];
|
||||
|
Loading…
Reference in New Issue
Block a user