feat: use nix-ld

This commit is contained in:
Harald Hoyer 2024-01-23 12:45:22 +01:00
parent e2951dc702
commit cc6fc792d6

View file

@ -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 ];