oizys/modules/nix-ld.nix

73 lines
1.3 KiB
Nix
Raw Normal View History

2024-03-19 07:24:30 -05:00
{
pkgs,
lib,
config,
...
2024-05-06 14:32:00 -05:00
}:
let
2024-03-19 07:24:30 -05:00
inherit (lib) mkEnableOption mkIf;
cfg = config.oizys.nix-ld;
2024-05-06 14:32:00 -05:00
in
{
2024-03-19 07:24:30 -05:00
options.oizys.nix-ld.enable = mkEnableOption "enable nix-ld support";
config = mkIf cfg.enable {
programs.nix-ld.enable = true;
2024-01-23 11:51:13 -06:00
2024-03-19 07:24:30 -05:00
# Packages that need at least something in this list:
# Geneious Prime
2024-06-13 16:05:49 -05:00
# list from https://github.com/Mic92/dotfiles/blob/cb180bdd3805b373e556a93ccb275b7f0f902a3b/nixos/modules/nix-ld.nix#L9C3-L60C5
2024-03-19 07:24:30 -05:00
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
2024-06-13 16:05:49 -05:00
# pipewire
2024-03-19 07:24:30 -05:00
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
];
};
2024-01-23 11:51:13 -06:00
}