mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 04:19:19 -08:00
feat(shell): nf-lint-tf
This commit is contained in:
parent
47d1036c42
commit
4de65230b4
5 changed files with 26 additions and 5 deletions
6
.envrc
6
.envrc
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue