add nix-ld module

This commit is contained in:
fleaz 2023-11-21 23:38:49 +01:00
parent bfce76ee04
commit 15dcc2daae
2 changed files with 21 additions and 1 deletions

19
modules/nixld.nix Normal file
View file

@ -0,0 +1,19 @@
{ config, pkgs, ... }: {
# Enable nix ld
programs.nix-ld.enable = true;
# Sets up all the libraries to load
programs.nix-ld.libraries = with pkgs; [
stdenv.cc.cc
zlib
fuse3
icu
zlib
nss
openssl
curl
expat
# ...
];
}

View file

@ -23,6 +23,7 @@ in
../modules/gc.nix
../modules/headscale.nix
../modules/sway.nix
../modules/nixld.nix
../secrets/remote-builder.nix
../users/fleaz.nix
@ -41,7 +42,7 @@ in
# GTK settings stuff for e.g. themes
programs.dconf.enable = true;
# List packages installed in system profile. To search, run:
# List packages installed in system profile
environment.systemPackages = with pkgs; [ vim wget curl git ];
environment.variables = {