feat: add support for non-nix binaries via nix-ld

This commit is contained in:
Jacob Bachmann 2024-01-13 15:41:23 +01:00
parent dc9dda5086
commit 9923359186
Signed by: bchmnn
GPG key ID: 732A612DAD28067D
2 changed files with 10 additions and 0 deletions

View file

@ -60,6 +60,7 @@
./keyd.nix ./keyd.nix
./mozillavpn.nix ./mozillavpn.nix
./network.nix ./network.nix
./nix-ld.nix
./nix.nix ./nix.nix
./nvidia.nix ./nvidia.nix
./opengl.nix ./opengl.nix

9
modules/nix-ld.nix Normal file
View file

@ -0,0 +1,9 @@
{ pkgs, ... }: {
# provide libraries for non-nix binaries
programs.nix-ld = {
enable = true;
libraries = with pkgs; [
glibc
];
};
}