add nix-ld module
This commit is contained in:
parent
afd916e93c
commit
4c7e6e3af3
3 changed files with 33 additions and 0 deletions
|
|
@ -42,6 +42,7 @@
|
|||
enable = true;
|
||||
baseDomain = "home.arp";
|
||||
};
|
||||
nix-ld.enable = true;
|
||||
};
|
||||
gui.enabled = "cosmic";
|
||||
};
|
||||
|
|
|
|||
|
|
@ -15,5 +15,6 @@
|
|||
./tailscale.nix
|
||||
./transmission.nix
|
||||
./conduwuit.nix
|
||||
./nix-ld.nix
|
||||
];
|
||||
}
|
||||
|
|
|
|||
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