I am not sure what distro you are using. Under Rasbpian I have edited /etc/default/keyboard and changed XKBLAYOUT="gb" to nz.
This works for me, here in Auckland, NZ.
Although at boot up there is a message about can't find nz symbols.
But this doesn't seem to be a problem.
Hope this helps.
Brent