feat: use nix-ld
This commit is contained in:
parent
e2951dc702
commit
cc6fc792d6
|
@ -94,6 +94,24 @@ with lib.plusultra;
|
|||
flake = "git+https://git.hoyer.xyz/harald/nixcfg#sgx-nixos";
|
||||
};
|
||||
|
||||
programs.nix-ld.enable = true;
|
||||
|
||||
# Sets up all the libraries to load
|
||||
programs.nix-ld.libraries = with pkgs; [
|
||||
stdenv.cc.cc
|
||||
libclang.lib
|
||||
zlib
|
||||
fuse3
|
||||
icu
|
||||
nss
|
||||
curl
|
||||
expat
|
||||
freetype
|
||||
glib
|
||||
openssl
|
||||
# ...
|
||||
];
|
||||
|
||||
security = {
|
||||
sudo = {
|
||||
enable = true;
|
||||
|
@ -114,6 +132,8 @@ with lib.plusultra;
|
|||
tpm2-tools
|
||||
vim
|
||||
wget
|
||||
clang
|
||||
pkg-config
|
||||
];
|
||||
|
||||
environment.shells = [ pkgs.fish pkgs.bash ];
|
||||
|
|
Loading…
Reference in a new issue