I want to version control my config, so first tough was to make a symlink from e.x. ~/.config/nixos/configuration.nix to /etc/nixos/..., but then I found this thread:
So I was hoping that setting nix.nixPath would be less hacky then setting up a alias or a shell script that exports the NIX_PATH before running nixos-rebuild