flake update

This commit is contained in:
arcnmx 2023-04-29 11:07:12 -07:00
parent 58cd9f7292
commit bc9c310c77
3 changed files with 23 additions and 16 deletions

6
.envrc
View file

@ -1,5 +1,6 @@
export NF_CONFIG_ROOT=$PWD
export HOME_HOSTNAME=$(hostname -s)
FLAKE_ARGS=()
if [[ $(id -un) = kat ]]; then
git pull
@ -8,4 +9,7 @@ if [[ -e trusted/trusted/flake.nix ]]; then
export TRUSTED=1
fi
use flake
source_env_if_exists .envrc.conf
use flake "${FLAKE_ARGS[@]}"
export FLAKE_OPTS="${FLAKE_ARGS[*]}"