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.
This commit is contained in:
kiskaadee committed 2026-07-31 00:29:31 -05:00
1 parent 5d8c29188b
commit df30f28eb1
1 file changed
+8
+8
View File
@@ -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.