I want to add a new path into nix.nixPath. I have some options to do this, such as edting NIX_PATH in shell’s profiles.
But I want to set it in configuration.nix. I can get default value from website or nixpkgs repo.
I wonder how I can get it using nix expression in configuration.nix. I know it is lazy in config, so using argument named config cannot work.