mirror of
https://github.com/kittywitch/nixfiles.git
synced 2026-02-09 20:39:18 -08:00
15 lines
288 B
Bash
15 lines
288 B
Bash
export NF_CONFIG_ROOT=$PWD
|
|
export HOME_HOSTNAME=$(hostname -s)
|
|
FLAKE_ARGS=()
|
|
|
|
if [[ $(id -un) = kat ]]; then
|
|
git pull
|
|
fi
|
|
if [[ -e trusted/trusted/flake.nix ]]; then
|
|
export TRUSTED=1
|
|
fi
|
|
|
|
source_env_if_exists .envrc.conf
|
|
|
|
use flake "${FLAKE_ARGS[@]}"
|
|
export FLAKE_OPTS="${FLAKE_ARGS[*]}"
|