Recent versions of nushell uses a different configuration setup. This commit adjusts the module to match. Fixes #2952 Fixes #2837