From df30f28eb13b7a269fa1174b6752644cc53d64c2 Mon Sep 17 00:00:00 2001 From: kiskaadee Date: Fri, 31 Jul 2026 00:29:31 -0500 Subject: [PATCH] feat(system): enable nix-ld for precompiled binary compatibility - Add `programs.nix-ld` configuration to `hosts/desktop/configuration.nix`. - Include essential shared libraries (`stdenv.cc.cc.lib`, `zlib`, `glib`) in the `nix-ld` library path. Rationale: Enables seamless execution of dynamic binaries and third-party software compiled for standard Linux distributions on the NixOS filesystem. --- hosts/desktop/configuration.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/hosts/desktop/configuration.nix b/hosts/desktop/configuration.nix index 05af541..f29e2a4 100644 --- a/hosts/desktop/configuration.nix +++ b/hosts/desktop/configuration.nix @@ -53,6 +53,14 @@ # Host-specific graphical compositor (Hyprland window manager for desktop) programs = { hyprland.enable = true; + nix-ld = { + enable = true; + libraries = with pkgs; [ + stdenv.cc.cc.lib + zlib + glib + ]; + }; }; # Rebuild/State version. Do not modify.