Add mold to darwin

This commit is contained in:
Nathan McCarty 2022-10-15 05:26:28 -04:00
parent fab273bf4e
commit 18a1b48e46
2 changed files with 22 additions and 0 deletions

View File

@ -14,6 +14,7 @@ with nLib; {
../common/programs/terminal.nix
./programs/core.nix
./programs/emacs.nix
./programs/devel.nix
];
options = {

View File

@ -0,0 +1,21 @@
{ config, lib, pkgs, inputs, ... }:
let
devel = config.nathan.programs.devel;
unstable = inputs.nixpkgs-unstable.legacyPackages."${pkgs.system}";
inherit (import ../../../modules/lib.nix {
inherit lib;
inherit pkgs;
})
nLib;
in with lib;
with nLib; {
config = mkMerge [
# Core development utilites
(mkIf devel.core {
home.packages = with pkgs;
# Experimental mold!
[ unstable.mold ];
})
];
}