feat(shell): nf-lint-tf

This commit is contained in:
arcnmx 2024-01-16 11:02:55 -08:00
parent 47d1036c42
commit 4de65230b4
5 changed files with 26 additions and 5 deletions

6
.envrc
View file

@ -2,11 +2,11 @@ export NF_CONFIG_ROOT=$PWD
export HOME_HOSTNAME=$(hostname -s)
FLAKE_ARGS=()
if [[ $(id -un) = kat ]]; then
git pull
fi
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