mirror of
https://github.com/LnL7/nix-darwin.git
synced 2024-12-14 11:57:34 +00:00
16 lines
180 B
Nix
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 ];
|
|
|
|
};
|
|
}
|
|
|