The peace treaty signed at Segauli established Nepal's borders pretty much as they are today.
The peace treaty focused on the borders of Nepal.
Ser Perth, I see that you've assessed everything correctly.