Thanks for the very detailed guide. Would you advice to have such a large swapfile? If I remember correctly, the old advice was to have double the storage in swap than in RAM. But after 4 or 8GB of RAM or so, this is no longer needed and just a generic amount of swap is kinda needed.
I'm moving now my swapfile to the nvme. I might put it in /var indeed. Thanks!
Rest of the civilized world doesn't execute.