From ce13abf5cb1fd8884dfdfa6460205bf8f7061bfa Mon Sep 17 00:00:00 2001 From: Alexander Wainwright Date: Sun, 22 Jun 2025 09:19:29 +1000 Subject: [PATCH] Add library path --- configuration.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/configuration.nix b/configuration.nix index efeddf1..041c8dc 100644 --- a/configuration.nix +++ b/configuration.nix @@ -98,6 +98,15 @@ # Enable touchpad support (enabled default in most desktopManager). # services.xserver.libinput.enable = true; + # Create a library path that only applies to unpackaged programs by using + # nix-ldo + # https://nix.dev/guides/faq#how-to-run-non-nix-executables + programs.nix-ld.enable = true; + programs.nix-ld.libraries = with pkgs; [ + # Add any missing dynamic libraries for unpackaged programs + # here, NOT in environment.systemPackages + ]; + programs.fish.enable = true; # Define a user account. Don't forget to set a password with ‘passwd’.