add nix-ld module
This commit is contained in:
parent
bfce76ee04
commit
15dcc2daae
19
modules/nixld.nix
Normal file
19
modules/nixld.nix
Normal 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
|
||||
# ...
|
||||
];
|
||||
}
|
||||
|
|
@ -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 = {
|
||||
|
|
Loading…
Reference in a new issue