Auto-commit: 2026-01-05 20:23:39

This commit is contained in:
2026-01-05 20:23:39 +00:00
parent 0860c70087
commit 848a1dd388

40
modules/core/ld.nix Normal file
View File

@@ -0,0 +1,40 @@
{ pkgs, config, lib, ... }:
let
cfg = config.my;
in
{
programs.nix-ld = lib.mkIf (cfg.rgb.enable || cfg.openlinkhub.enable ) {
enable = true;
libraries = with pkgs; [
stdenv.cc.cc
glibc
xorg.libX11
xorg.libXcursor
xorg.libXrandr
xorg.libXinerama
xorg.libXi
wayland
libGL
libdrm
alsa-lib
pulseaudio
glib
nspr.out
nss.out
dbus.lib
at-spi2-atk
cups.lib
cairo.out
gtk3.out
pango.out
libxcomposite.out
libxdamage.out
libxext.out
libxfixes.out
libgbm.out
expat.out
libxcb.out
libxkbcommon.out
];
};
}