flake-registry should be safe to set to an aribtrary value, since it is identical to just setting `inputs`.
This makes sure that $HOME/.local/share/nix exists before we try to write to it.