NIX_PATH corrupted

Hi all, I have somehow corrupted my NIX_PATH while adding a /home/souleb/.nixpkgs/config.nix…

I added a nix channel in my user env.

I have reverted that, but now when I try to do nixos-rebuild switch I get this error:

[root@nixos21:~]# nixos-rebuild switch
warning: Nix search path entry '/home/souleb/.config/nixpkgs' does not exist, ignoring
error: file 'nixpkgs/nixos' was not found in the Nix search path (add it using $NIX_PATH or -I), at (string):1:13
building Nix...


[root@nixos21:~]# printenv NIX_PATH

Does anyone know how to correct that?