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