diff --git a/modules/nixld.nix b/modules/nixld.nix new file mode 100644 index 0000000..5b7a29a --- /dev/null +++ b/modules/nixld.nix @@ -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 + # ... + ]; +} + diff --git a/roles/all.nix b/roles/all.nix index 65af069..ab09356 100644 --- a/roles/all.nix +++ b/roles/all.nix @@ -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 = {