aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/targets/darwin.nix4
-rw-r--r--tests/modules/targets-darwin/default.nix6
2 files changed, 8 insertions, 2 deletions
diff --git a/modules/targets/darwin.nix b/modules/targets/darwin.nix
index 0d434234bbb..cd7d8e289cf 100644
--- a/modules/targets/darwin.nix
+++ b/modules/targets/darwin.nix
@@ -1,7 +1,9 @@
{ config, lib, pkgs, ... }:
{
- config = lib.mkIf pkgs.stdenv.hostPlatform.isDarwin {
+ # Disabled for now due to conflicting behavior with nix-darwin. See
+ # https://github.com/rycee/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 {
diff --git a/tests/modules/targets-darwin/default.nix b/tests/modules/targets-darwin/default.nix
index 479f586eef3..5c04854ff2e 100644
--- a/tests/modules/targets-darwin/default.nix
+++ b/tests/modules/targets-darwin/default.nix
@@ -1 +1,5 @@
-{ targets-darwin = ./darwin.nix; }
+{
+ # Disabled for now due to conflicting behavior with nix-darwin. See
+ # https://github.com/rycee/home-manager/issues/1341#issuecomment-687286866
+ #targets-darwin = ./darwin.nix;
+}