add nix-ld module

This commit is contained in:
ulic-youthlic 2025-02-01 21:23:56 +08:00
parent afd916e93c
commit 4c7e6e3af3
Signed by: youthlic
GPG key ID: 63E86C3C14A0D721
3 changed files with 33 additions and 0 deletions

View file

@ -42,6 +42,7 @@
enable = true;
baseDomain = "home.arp";
};
nix-ld.enable = true;
};
gui.enabled = "cosmic";
};

View file

@ -15,5 +15,6 @@
./tailscale.nix
./transmission.nix
./conduwuit.nix
./nix-ld.nix
];
}

View file

@ -0,0 +1,31 @@
{
pkgs,
config,
lib,
...
}:
let
cfg = config.youthlic.programs.nix-ld;
in
{
options = {
youthlic.programs.nix-ld = {
enable = lib.mkEnableOption "nix-ld";
};
};
config = lib.mkIf cfg.enable {
programs.nix-ld = {
enable = true;
# libraries = with pkgs; [
# stdenv.cc.cc
# zlib
# fuse3
# icu
# nss
# openssl
# curl
# expat
# ];
};
};
}