export NF_CONFIG_ROOT=$PWD
export HOME_HOSTNAME=$(hostname -s)
FLAKE_ARGS=()

source_env_if_exists ".envrc.${USER-$(id -un)}"

source_env_if_exists .envrc.conf

use flake "${FLAKE_ARGS[@]}"
export FLAKE_OPTS=${FLAKE_OPTS:-"${FLAKE_ARGS[*]}"}

watch_file devShell.nix
