Why such a verbose syntax? E.g. this would be nicer:

nix-path = { this = ./test-nix-path.nix;  nix = nixDir; }