install: hide the store volume on darwin

This commit is contained in:
Daiderd Jordan 2020-03-05 23:12:52 +01:00
parent ee89b7797d
commit caface1980
No known key found for this signature in database
GPG Key ID: D02435D05B810C96
1 changed files with 1 additions and 1 deletions

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