mirror of
https://github.com/nmasur/dotfiles
synced 2025-12-29 02:42:43 +00:00
comment out spctl allow apps from anywhere
doesn't work when using nh because it requires a UI escalation when run via indirectly
This commit is contained in:
@@ -96,14 +96,14 @@ in
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
# Settings that don't have an option in nix-darwin
|
# # Settings that don't have an option in nix-darwin
|
||||||
activationScripts.postActivation.text = ''
|
# activationScripts.postActivation.text = ''
|
||||||
echo "Allow apps from anywhere"
|
# echo "Allow apps from anywhere"
|
||||||
SPCTL=$(spctl --status)
|
# SPCTL=$(spctl --status)
|
||||||
if ! [ "$SPCTL" = "assessments disabled" ]; then
|
# if ! [ "$SPCTL" = "assessments disabled" ]; then
|
||||||
sudo spctl --master-disable
|
# spctl --master-disable
|
||||||
fi
|
# fi
|
||||||
'';
|
# '';
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user