add nix-ld module
This commit is contained in:
parent
afd916e93c
commit
4c7e6e3af3
3 changed files with 33 additions and 0 deletions
31
nixos/modules/programs/nix-ld.nix
Normal file
31
nixos/modules/programs/nix-ld.nix
Normal 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
|
||||
# ];
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue