mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-12-30 12:10:43 -06:00
70 lines
1.3 KiB
Nix
70 lines
1.3 KiB
Nix
{
|
|
pkgs,
|
|
lib,
|
|
config,
|
|
...
|
|
}: let
|
|
inherit (lib) mkEnableOption mkIf;
|
|
cfg = config.oizys.nix-ld;
|
|
in {
|
|
options.oizys.nix-ld.enable = mkEnableOption "enable nix-ld support";
|
|
config = mkIf cfg.enable {
|
|
programs.nix-ld.enable = true;
|
|
|
|
# Packages that need at least something in this list:
|
|
# Geneious Prime
|
|
# https://github.com/Mic92/dotfiles/blob/cb180bdd3805b373e556a93ccb275b7f0f902a3b/nixos/modules/nix-ld.nix#L9C3-L60C5
|
|
programs.nix-ld.libraries = with pkgs; [
|
|
alsa-lib
|
|
at-spi2-atk
|
|
at-spi2-core
|
|
atk
|
|
cairo
|
|
cups
|
|
curl
|
|
dbus
|
|
expat
|
|
fontconfig
|
|
freetype
|
|
fuse3
|
|
gdk-pixbuf
|
|
glib
|
|
gtk3
|
|
icu
|
|
libGL
|
|
libappindicator-gtk3
|
|
libdrm
|
|
libglvnd
|
|
libnotify
|
|
libpulseaudio
|
|
libunwind
|
|
libusb1
|
|
libuuid
|
|
libxkbcommon
|
|
mesa
|
|
nspr
|
|
nss
|
|
openssl
|
|
pango
|
|
pipewire
|
|
stdenv.cc.cc
|
|
systemd
|
|
vulkan-loader
|
|
xorg.libX11
|
|
xorg.libXScrnSaver
|
|
xorg.libXcomposite
|
|
xorg.libXcursor
|
|
xorg.libXdamage
|
|
xorg.libXext
|
|
xorg.libXfixes
|
|
xorg.libXi
|
|
xorg.libXrandr
|
|
xorg.libXrender
|
|
xorg.libXtst
|
|
xorg.libxcb
|
|
xorg.libxkbfile
|
|
xorg.libxshmfence
|
|
zlib
|
|
];
|
|
};
|
|
}
|