

Well, I’ve been using Ubuntu for the last 20 years (god, it hurts to say that) and only started playing with NixOS, 3 years ago.
Between the two I like NixOS better, but if I had to choose only one it would probably be Ubuntu. When things break, I know how to fix it. Usually without having to spend 2 hours of reading and trying to understand the documentation.





Basically what you want is to turn the linux laptop into a router. Thats doable. I believe Ars did an article on a similar build a couple years ago.
And here it is: https://arstechnica.com/gadgets/2016/04/the-ars-guide-to-building-a-linux-router-from-scratch/
It’s an old build based on an almost 10 year old version of Ubuntu, but quickly glancing through it, I didn’t see anything completely out of date. Version numbers will have changed and perhaps some package names will have changed but it will give you a starting point for further research. You won’t want to cargo cult this build.
I think the main difference is that your internet would be coming in from the wifi interface and going out the ethernet interface rather than the other way around.