How to add search domains to /etc/resolv.conf?

Did you try setting networking.search?

networking.search = [ "mydomain.com" ];
3 Likes