This is a big NO. ALL settings not made through the GUI will get overwritten by the system. Never ever make changes in the shell of files managed by Truenas. If Truenas GUI does not allow you to set this value you can’t do it. Period.
no_root_squash can be set by this: