install: hide the store volume on darwin

(cherry picked from commit caface1980)
Signed-off-by: Domen Kožar <domen@dev.si>
This commit is contained in:
Daiderd Jordan 2020-03-05 23:12:52 +01:00 committed by Domen Kožar
parent 5a16236307
commit ebfa913825
No known key found for this signature in database
GPG Key ID: C2FFBCAFD2C24246

View File

@ -94,7 +94,7 @@ main() {
if ! test_fstab; then
echo "Configuring /etc/fstab..." >&2
label=$(echo "$volume" | sed 's/ /\\040/g')
printf "\$a\nLABEL=%s /nix apfs rw\n.\nwq\n" "$label" | EDITOR=ed sudo vifs
printf "\$a\nLABEL=%s /nix apfs rw,nobrowse\n.\nwq\n" "$label" | EDITOR=ed sudo vifs
fi
echo "The following options can be enabled to disable spotlight indexing" >&2