For the shell environment to be portable enough to run on both Linux and Darwin (macOS) systems, we define a shell hook that will export a few environment variables into existence depending on the system.export NIX_PATH="nixpkgs=${nixpkgs-src}:home-manager=${hm-src}:NUR=${nur-src}" ...