mirror of
https://github.com/CHN-beta/nixos.git
synced 2024-10-23 11:29:06 +08:00
10 lines
355 B
Nix
10 lines
355 B
Nix
inputs:
|
|
{
|
|
options.nixos.system.nix-ld = let inherit (inputs.lib) mkOption types; in mkOption
|
|
{ type = types.nullOr (types.submodule {}); default = {}; };
|
|
config = let inherit (inputs.config.nixos.system) nix-ld; in inputs.lib.mkIf (nix-ld != null)
|
|
{
|
|
programs.nix-ld = { enable = true; libraries = [ inputs.pkgs.steam-run.fhsenv ]; };
|
|
};
|
|
}
|