nixos-install: If NIX_CONF_DIR is unset, use /etc/nix
nixos-install: Don't grep nix.conf directly, use nix perl bindings instead
Use nss_myhostname from systemd