{ config, lib, pkgs, ... }: with lib; let cfg = config.modules.dev; in { config = mkIf cfg.enable { # Runs dynamically linked executables intended for generic Linux (e.g. Python # binaries downloaded by uv) by providing the standard loaders in /lib/* programs.nix-ld = { enable = true; libraries = with pkgs; [ zlib zstd stdenv.cc.cc curl openssl attr libssh bzip2 libxml2 acl libsodium util-linux xz systemd glib libelf ]; }; environment.systemPackages = with pkgs; [ uv ]; }; }