1
0
Fork 0
mirror of https://github.com/LnL7/nix-darwin.git synced 2024-12-14 11:57:34 +00:00

nix-info: install by default

This commit is contained in:
Daiderd Jordan 2017-10-20 22:23:51 +02:00
parent d4f3a3a8a9
commit e828743829
No known key found for this signature in database
GPG key ID: D02435D05B810C96
2 changed files with 17 additions and 0 deletions

View file

@ -37,6 +37,7 @@ let
./modules/networking
./modules/nix
./modules/nix/nix-darwin.nix
./modules/nix/nix-info.nix
./modules/nix/nixpkgs.nix
./modules/environment
./modules/launchd

16
modules/nix/nix-info.nix Normal file
View file

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