2020-08-28 13:42:05 +00:00
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
|
|
|
|
{
|
2020-09-04 18:01:19 +00:00
|
|
|
# Disabled for now due to conflicting behavior with nix-darwin. See
|
2020-10-19 19:20:37 +00:00
|
|
|
# https://github.com/nix-community/home-manager/issues/1341#issuecomment-687286866
|
2020-09-04 18:01:19 +00:00
|
|
|
config = lib.mkIf (false && pkgs.stdenv.hostPlatform.isDarwin) {
|
2020-08-28 13:42:05 +00:00
|
|
|
# Install MacOS applications to the user environment.
|
|
|
|
home.file."Applications/Home Manager Apps".source = let
|
|
|
|
apps = pkgs.buildEnv {
|
|
|
|
name = "home-manager-applications";
|
|
|
|
paths = config.home.packages;
|
|
|
|
pathsToLink = "/Applications";
|
|
|
|
};
|
|
|
|
in "${apps}/Applications";
|
|
|
|
};
|
|
|
|
}
|