nixpkgs/nixos/modules/programs/nix-ld.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
327 B
Nix
Raw Normal View History

2022-03-15 13:22:18 +01:00
{ pkgs, lib, config, ... }:
{
meta.maintainers = [ lib.maintainers.mic92 ];
options = {
programs.nix-ld.enable = lib.mkEnableOption (lib.mdDoc ''nix-ld, Documentation: <https://github.com/Mic92/nix-ld>'');
2022-03-15 13:22:18 +01:00
};
config = lib.mkIf config.programs.nix-ld.enable {
2022-05-14 17:02:37 +02:00
systemd.tmpfiles.packages = [ pkgs.nix-ld ];
2022-03-15 13:22:18 +01:00
};
}