get fully rid of with from work config

This commit is contained in:
work 2024-08-30 09:58:05 +02:00
parent f557a899c1
commit d9b7500324
Signed by: work
SSH key fingerprint: SHA256:EkJKXioMMuAy1HJWpXOvEvwm2AfE/1LMG+v4/SzKdqA

View file

@ -5,6 +5,7 @@
pkgs, pkgs,
... ...
}: let }: let
inherit (lib.attrsets) attrValues;
inherit (lib.meta) getExe; inherit (lib.meta) getExe;
inherit (config.poz.other.system) username; inherit (config.poz.other.system) username;
@ -55,17 +56,21 @@ in {
graphics = { graphics = {
enable = true; enable = true;
enable32Bit = true; enable32Bit = true;
extraPackages = with pkgs; [ extraPackages = attrValues {
mesa inherit (pkgs)
libdrm mesa
libva libdrm
vaapiVdpau libva
libvdpau-va-gl vaapiVdpau
]; libvdpau-va-gl
extraPackages32 = with pkgs; [ ;
driversi686Linux.mesa };
driversi686Linux.libvdpau-va-gl extraPackages32 = attrValues {
]; inherit (pkgs.driversi686Linux)
mesa
libvdpau-va-gl
;
};
}; };
}; };
@ -100,9 +105,7 @@ in {
}; };
services.udev = { services.udev = {
packages = with pkgs; [ packages = [ pkgs.yubikey-personalization ];
yubikey-personalization
];
}; };
networking.proxy = { networking.proxy = {
@ -111,7 +114,7 @@ in {
services.xserver.videoDrivers = [ "displaylink" "modesetting" ]; services.xserver.videoDrivers = [ "displaylink" "modesetting" ];
boot = { boot = {
extraModulePackages = with config.boot.kernelPackages; [ evdi ]; extraModulePackages = [ config.boot.kernelPackages.evdi ];
kernelModules = [ "evdi" ]; kernelModules = [ "evdi" ];
}; };