From 5c7e7b147dbe196fbe3bf82ba7c65954e52673f2 Mon Sep 17 00:00:00 2001 From: Erwin Boskma Date: Wed, 20 Dec 2023 11:38:26 +0100 Subject: [PATCH] loki: Set up nix-ld --- machines/loki/configuration.nix | 59 ++++++++++++++++++++++++++++++++- 1 file changed, 58 insertions(+), 1 deletion(-) diff --git a/machines/loki/configuration.nix b/machines/loki/configuration.nix index 20570c9..a52134f 100644 --- a/machines/loki/configuration.nix +++ b/machines/loki/configuration.nix @@ -1,4 +1,4 @@ -{ nixos-hardware, ... }: +{ nixos-hardware, nix-ld-rs, ... }: { pkgs, config, ... }: { imports = [ @@ -364,6 +364,63 @@ }; }; }; + nix-ld = { + enable = true; + package = nix-ld-rs.packages.${pkgs.hostPlatform.system}.nix-ld-rs; + 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 + sqlite + 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 + ]; + }; }; powerManagement = {