Add nix-ld
This commit is contained in:
parent
4085792374
commit
0f0746354f
2 changed files with 29 additions and 0 deletions
|
@ -15,6 +15,7 @@
|
||||||
../../modules/keymaps/us.nix
|
../../modules/keymaps/us.nix
|
||||||
../../modules/bluetooth.nix
|
../../modules/bluetooth.nix
|
||||||
../../modules/pipewire.nix
|
../../modules/pipewire.nix
|
||||||
|
../../modules/nix-ld.nix
|
||||||
|
|
||||||
# Include the results of the hardware scan.
|
# Include the results of the hardware scan.
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
|
|
28
modules/nix-ld.nix
Normal file
28
modules/nix-ld.nix
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
{ config, pkgs, ... }: {
|
||||||
|
# Enable nix ld
|
||||||
|
programs.nix-ld.enable = true;
|
||||||
|
|
||||||
|
programs.nix-ld.package = pkgs.nix-ld-rs;
|
||||||
|
|
||||||
|
# Sets up all the libraries to load
|
||||||
|
programs.nix-ld.libraries = with pkgs; [
|
||||||
|
zlib
|
||||||
|
zstd
|
||||||
|
stdenv.cc.cc
|
||||||
|
curl
|
||||||
|
openssl
|
||||||
|
attr
|
||||||
|
libssh
|
||||||
|
bzip2
|
||||||
|
libxml2
|
||||||
|
acl
|
||||||
|
libsodium
|
||||||
|
util-linux
|
||||||
|
xz
|
||||||
|
systemd
|
||||||
|
fuse3
|
||||||
|
icu
|
||||||
|
nss
|
||||||
|
expat
|
||||||
|
];
|
||||||
|
}
|
Loading…
Reference in a new issue