1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-23 11:39:46 +01:00
home-manager/modules/targets/darwin/linkapps.nix

17 lines
568 B
Nix
Raw Permalink Normal View History

{ config, lib, pkgs, ... }:
{
# Disabled for now due to conflicting behavior with nix-darwin. See
2020-10-19 21:20:37 +02:00
# https://github.com/nix-community/home-manager/issues/1341#issuecomment-687286866
config = lib.mkIf (false && pkgs.stdenv.hostPlatform.isDarwin) {
# 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";
};
}