mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
flake update
This commit is contained in:
parent
58cd9f7292
commit
bc9c310c77
3 changed files with 23 additions and 16 deletions
6
.envrc
6
.envrc
|
|
@ -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[*]}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue