I just tried Jameson Lopp's config generator[1] and found out where it should be located[2]. Prune is disabled by default, so there's no need to add prune=0 manually.
That's right; but as his own website says, this file will be completely sufficient:
peerbloomfilters=1
You don't need all those sections if they're empty anyway, and the [network] section is just for legibility anyways.
For example, the config in my full node install guide has no sections at all:
[5] Create Bitcoin config file
mkdir ~/.bitcoin
nano ~/.bitcoin/bitcoin.conf
[6] Fill it like follows:
daemon=1
server=1
maxmempool=50
mempoolexpiry=2
rpcauth=user_chose_in_step_4:hash_created_in_step_4
dbcache=2048
banscore=10
datadir=/home/bitcoin/.bitcoin/