I love how steadily Linux ecosystem gets better and better over the years. I am at an event where I have some spare time in the back of our booth, so I'm slowly installing my new homelab minipc and I needed to provide connectivity to it. I have two network interfaces on my laptop, so I started remembering how to set up routing and dhcp server on the command line, then I remembered it's a workstation, so I need to take care of NetworkManager to not cause any issues, only to find out that there's actually an option called "Shared to other computers" on the interface in NetworkManager GUI, so I ticked it and ... it just works. It started dhcp server and started masquerading the subnet via default route.
Oh, and you can find the leases in "/var/lib/NetworkManager/dnsmasq-<interface name>.leases"