1
0
Fork 0
mirror of https://github.com/LnL7/nix-darwin.git synced 2024-12-14 11:57:34 +00:00
nix-darwin/modules/nix/nix-info.nix
2017-10-20 22:23:51 +02:00

16 lines
180 B
Nix

{ config, lib, pkgs, ... }:
with lib;
let
nix-info = pkgs.nix-info or null;
in
{
config = {
environment.systemPackages = mkIf (nix-info != null) [ nix-info ];
};
}