diff --git a/modules/nix-darwin/system/default.nix b/modules/nix-darwin/system/default.nix index e614c7c..4ae0491 100644 --- a/modules/nix-darwin/system/default.nix +++ b/modules/nix-darwin/system/default.nix @@ -175,7 +175,7 @@ in echo "Allow apps from anywhere" SPCTL="$(spctl --status)" - if ! [ "$\{SPCTL}" = "assessments disabled" ]; then + if ! [ "''$''\{SPCTL''\}" = "assessments disabled" ]; then sudo spctl --master-disable fi