>>102997264
If your script or whatever leaves stuff behind on purpose, it could make sense to have some naming.
As in something like
>/tmp/1945768-your-generated-configs.cfg
But if the file is completely temporary, what's the use?
>>102997434
What's a "wireguard profile"? You can use systemd-networkd for configuring it all btw.
>I download wireguard profiles from protonvpn
What does it actually contain? You only really need a key and address:port.
Here's an old systemd file of mine, it was used to connect to my VPS' WireGuard endpoint
# 01-hetzner-wireguard.netdev
[NetDev]
Name=hetzner
Kind=wireguard
[WireGuard]
PrivateKeyFile=<here goes the file containing your personal private key>
[WireGuardPeer]
Endpoint=address_of_my_VPS:51999
AllowedIPs=10.255.44.0/30
PublicKey=<here goes the public key of your VPN endpoint>
And a .network file to give the thing an IP:
# 01-hetzner-wireguard.network
[Match]
Name=hetzner
[Network]
Address=10.255.44.2/30
So the VPS was 10.255.44.1 and I was 10.255.44.2 on a /30. It was all point-to-point though.