From 5b487330e14ee52ea64126317c58bda5102da509 Mon Sep 17 00:00:00 2001 From: Tom Alexander Date: Sun, 24 Aug 2025 13:47:05 -0400 Subject: [PATCH] Use json for talking to nix output monitor. --- nix/configuration/hosts/hydra/DEPLOY_BOOT | 2 +- nix/configuration/hosts/hydra/DEPLOY_SWITCH | 2 +- nix/configuration/hosts/hydra/ISO | 2 +- nix/configuration/hosts/ionlybootzfs/DEPLOY_BOOT | 2 +- nix/configuration/hosts/ionlybootzfs/DEPLOY_SWITCH | 2 +- nix/configuration/hosts/ionlybootzfs/ISO | 2 +- nix/configuration/hosts/neelix/DEPLOY_BOOT | 2 +- nix/configuration/hosts/neelix/DEPLOY_SWITCH | 2 +- nix/configuration/hosts/odo/DEPLOY_BOOT | 2 +- nix/configuration/hosts/odo/DEPLOY_SWITCH | 2 +- nix/configuration/hosts/odo/ISO | 2 +- nix/configuration/hosts/odo/SELF_BOOT | 2 +- nix/configuration/hosts/odo/SELF_BUILD | 2 +- nix/configuration/hosts/odo/SELF_SWITCH | 2 +- nix/configuration/hosts/quark/DEPLOY_BOOT | 2 +- nix/configuration/hosts/quark/DEPLOY_SWITCH | 2 +- nix/configuration/hosts/quark/ISO | 2 +- nix/configuration/hosts/quark/SELF_BOOT | 2 +- nix/configuration/hosts/quark/SELF_BUILD | 2 +- nix/configuration/hosts/quark/SELF_SWITCH | 2 +- 20 files changed, 20 insertions(+), 20 deletions(-) diff --git a/nix/configuration/hosts/hydra/DEPLOY_BOOT b/nix/configuration/hosts/hydra/DEPLOY_BOOT index ff425db..32d5db4 100755 --- a/nix/configuration/hosts/hydra/DEPLOY_BOOT +++ b/nix/configuration/hosts/hydra/DEPLOY_BOOT @@ -14,6 +14,6 @@ nix flake update zsh-histdb --flake "$DIR/../../" nix flake update ansible-sshjail --flake "$DIR/../../" for f in /persist/manual/manual_add_to_store/*; do nix-store --add-fixed sha256 "$f"; done -nixos-rebuild boot --flake "$DIR/../../#hydra" --target-host "$TARGET" --build-host "$TARGET" --fast --use-remote-sudo --max-jobs "$JOBS" "${@}" |& nom +nixos-rebuild boot --flake "$DIR/../../#hydra" --target-host "$TARGET" --build-host "$TARGET" --fast --use-remote-sudo --max-jobs "$JOBS" --log-format internal-json -v "${@}" |& nom --json # rsync -av --progress --delete --exclude=.git "$DIR/../../../configuration" "talexander@${TARGET}:/persist/manual/" && ssh talexander@${TARGET} 'cd /persist/manual/configuration && nix flake update zsh-histdb && nix flake update ansible-sshjail && doas nice -n 19 nixos-rebuild boot --flake /persist/manual/configuration#hydra' diff --git a/nix/configuration/hosts/hydra/DEPLOY_SWITCH b/nix/configuration/hosts/hydra/DEPLOY_SWITCH index 13a558f..4c11d9e 100755 --- a/nix/configuration/hosts/hydra/DEPLOY_SWITCH +++ b/nix/configuration/hosts/hydra/DEPLOY_SWITCH @@ -14,6 +14,6 @@ nix flake update zsh-histdb --flake "$DIR/../../" nix flake update ansible-sshjail --flake "$DIR/../../" for f in /persist/manual/manual_add_to_store/*; do nix-store --add-fixed sha256 "$f"; done -nixos-rebuild switch --flake "$DIR/../../#hydra" --target-host "$TARGET" --build-host "$TARGET" --fast --use-remote-sudo --max-jobs "$JOBS" "${@}" |& nom +nixos-rebuild switch --flake "$DIR/../../#hydra" --target-host "$TARGET" --build-host "$TARGET" --fast --use-remote-sudo --max-jobs "$JOBS" --log-format internal-json -v "${@}" |& nom --json # rsync -av --progress --delete --exclude=.git "$DIR/../../../configuration" "talexander@${TARGET}:/persist/manual/" && ssh talexander@${TARGET} 'cd /persist/manual/configuration && nix flake update zsh-histdb && nix flake update ansible-sshjail && doas nice -n 19 nixos-rebuild switch --flake /persist/manual/configuration#hydra' diff --git a/nix/configuration/hosts/hydra/ISO b/nix/configuration/hosts/hydra/ISO index 60a6895..f05a859 100755 --- a/nix/configuration/hosts/hydra/ISO +++ b/nix/configuration/hosts/hydra/ISO @@ -9,4 +9,4 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" nix flake update zsh-histdb --flake "$DIR/../../" nix flake update ansible-sshjail --flake "$DIR/../../" for f in /persist/manual/manual_add_to_store/*; do nix-store --add-fixed sha256 "$f"; done -nix build --extra-experimental-features nix-command --extra-experimental-features flakes "$DIR/../..#iso.hydra" --max-jobs "$JOBS" "${@}" |& nom +nix build --extra-experimental-features nix-command --extra-experimental-features flakes "$DIR/../..#iso.hydra" --max-jobs "$JOBS" --log-format internal-json -v "${@}" |& nom --json diff --git a/nix/configuration/hosts/ionlybootzfs/DEPLOY_BOOT b/nix/configuration/hosts/ionlybootzfs/DEPLOY_BOOT index 0abb296..5cd8959 100755 --- a/nix/configuration/hosts/ionlybootzfs/DEPLOY_BOOT +++ b/nix/configuration/hosts/ionlybootzfs/DEPLOY_BOOT @@ -14,6 +14,6 @@ nix flake update zsh-histdb --flake "$DIR/../../" nix flake update ansible-sshjail --flake "$DIR/../../" for f in /persist/manual/manual_add_to_store/*; do nix-store --add-fixed sha256 "$f"; done -nixos-rebuild boot --flake "$DIR/../../#ionlybootzfs" --target-host "$TARGET" --build-host "$TARGET" --fast --use-remote-sudo --max-jobs "$JOBS" "${@}" |& nom +nixos-rebuild boot --flake "$DIR/../../#ionlybootzfs" --target-host "$TARGET" --build-host "$TARGET" --fast --use-remote-sudo --max-jobs "$JOBS" --log-format internal-json -v "${@}" |& nom --json # rsync -av --progress --delete --exclude=.git "$DIR/../../../configuration" "talexander@${TARGET}:/persist/manual/" && ssh talexander@${TARGET} 'cd /persist/manual/configuration && nix flake update zsh-histdb && nix flake update ansible-sshjail && doas nice -n 19 nixos-rebuild boot --flake /persist/manual/configuration#ionlybootzfs' diff --git a/nix/configuration/hosts/ionlybootzfs/DEPLOY_SWITCH b/nix/configuration/hosts/ionlybootzfs/DEPLOY_SWITCH index ca52753..5947b13 100755 --- a/nix/configuration/hosts/ionlybootzfs/DEPLOY_SWITCH +++ b/nix/configuration/hosts/ionlybootzfs/DEPLOY_SWITCH @@ -14,6 +14,6 @@ nix flake update zsh-histdb --flake "$DIR/../../" nix flake update ansible-sshjail --flake "$DIR/../../" for f in /persist/manual/manual_add_to_store/*; do nix-store --add-fixed sha256 "$f"; done -nixos-rebuild switch --flake "$DIR/../../#ionlybootzfs" --target-host "$TARGET" --build-host "$TARGET" --fast --use-remote-sudo --max-jobs "$JOBS" "${@}" |& nom +nixos-rebuild switch --flake "$DIR/../../#ionlybootzfs" --target-host "$TARGET" --build-host "$TARGET" --fast --use-remote-sudo --max-jobs "$JOBS" --log-format internal-json -v "${@}" |& nom --json # rsync -av --progress --delete --exclude=.git "$DIR/../../../configuration" "talexander@${TARGET}:/persist/manual/" && ssh talexander@${TARGET} 'cd /persist/manual/configuration && nix flake update zsh-histdb && nix flake update ansible-sshjail && doas nice -n 19 nixos-rebuild switch --flake /persist/manual/configuration#ionlybootzfs' diff --git a/nix/configuration/hosts/ionlybootzfs/ISO b/nix/configuration/hosts/ionlybootzfs/ISO index 8ac1918..10a7664 100755 --- a/nix/configuration/hosts/ionlybootzfs/ISO +++ b/nix/configuration/hosts/ionlybootzfs/ISO @@ -9,4 +9,4 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" nix flake update zsh-histdb --flake "$DIR/../../" nix flake update ansible-sshjail --flake "$DIR/../../" for f in /persist/manual/manual_add_to_store/*; do nix-store --add-fixed sha256 "$f"; done -nix build --extra-experimental-features nix-command --extra-experimental-features flakes "$DIR/../..#iso.ionlybootzfs" --max-jobs "$JOBS" "${@}" |& nom +nix build --extra-experimental-features nix-command --extra-experimental-features flakes "$DIR/../..#iso.ionlybootzfs" --max-jobs "$JOBS" --log-format internal-json -v "${@}" |& nom --json diff --git a/nix/configuration/hosts/neelix/DEPLOY_BOOT b/nix/configuration/hosts/neelix/DEPLOY_BOOT index e7a536f..425eb3b 100755 --- a/nix/configuration/hosts/neelix/DEPLOY_BOOT +++ b/nix/configuration/hosts/neelix/DEPLOY_BOOT @@ -14,6 +14,6 @@ nix flake update zsh-histdb --flake "$DIR/../../" nix flake update ansible-sshjail --flake "$DIR/../../" for f in /persist/manual/manual_add_to_store/*; do nix-store --add-fixed sha256 "$f"; done -nixos-rebuild boot --flake "$DIR/../../#neelix" --target-host "$TARGET" --build-host "$TARGET" --fast --use-remote-sudo --max-jobs "$JOBS" "${@}" |& nom +nixos-rebuild boot --flake "$DIR/../../#neelix" --target-host "$TARGET" --build-host "$TARGET" --fast --use-remote-sudo --max-jobs "$JOBS" --log-format internal-json -v "${@}" |& nom --json # rsync -av --progress --delete --exclude=.git "$DIR/../../../configuration" "talexander@${TARGET}:/persist/manual/" && ssh talexander@${TARGET} 'cd /persist/manual/configuration && nix flake update zsh-histdb && nix flake update ansible-sshjail && doas nice -n 19 nixos-rebuild boot --flake /persist/manual/configuration#neelix' diff --git a/nix/configuration/hosts/neelix/DEPLOY_SWITCH b/nix/configuration/hosts/neelix/DEPLOY_SWITCH index 58d073e..bbd45ad 100755 --- a/nix/configuration/hosts/neelix/DEPLOY_SWITCH +++ b/nix/configuration/hosts/neelix/DEPLOY_SWITCH @@ -14,6 +14,6 @@ nix flake update zsh-histdb --flake "$DIR/../../" nix flake update ansible-sshjail --flake "$DIR/../../" for f in /persist/manual/manual_add_to_store/*; do nix-store --add-fixed sha256 "$f"; done -nixos-rebuild switch --flake "$DIR/../../#neelix" --target-host "$TARGET" --build-host "$TARGET" --fast --use-remote-sudo --max-jobs "$JOBS" "${@}" |& nom +nixos-rebuild switch --flake "$DIR/../../#neelix" --target-host "$TARGET" --build-host "$TARGET" --fast --use-remote-sudo --max-jobs "$JOBS" --log-format internal-json -v "${@}" |& nom --json # rsync -av --progress --delete --exclude=.git "$DIR/../../../configuration" "talexander@${TARGET}:/persist/manual/" && ssh talexander@${TARGET} 'cd /persist/manual/configuration && nix flake update zsh-histdb && nix flake update ansible-sshjail && doas nice -n 19 nixos-rebuild switch --flake /persist/manual/configuration#neelix' diff --git a/nix/configuration/hosts/odo/DEPLOY_BOOT b/nix/configuration/hosts/odo/DEPLOY_BOOT index f23cf46..45510ff 100755 --- a/nix/configuration/hosts/odo/DEPLOY_BOOT +++ b/nix/configuration/hosts/odo/DEPLOY_BOOT @@ -14,6 +14,6 @@ nix flake update zsh-histdb --flake "$DIR/../../" nix flake update ansible-sshjail --flake "$DIR/../../" for f in /persist/manual/manual_add_to_store/*; do nix-store --add-fixed sha256 "$f"; done -nixos-rebuild boot --flake "$DIR/../../#odo" --target-host "$TARGET" --build-host "$TARGET" --fast --use-remote-sudo --max-jobs "$JOBS" "${@}" |& nom +nixos-rebuild boot --flake "$DIR/../../#odo" --target-host "$TARGET" --build-host "$TARGET" --fast --use-remote-sudo --max-jobs "$JOBS" --log-format internal-json -v "${@}" |& nom --json # rsync -av --progress --delete --exclude=.git "$DIR/../../../configuration" "talexander@${TARGET}:/persist/manual/" && ssh talexander@${TARGET} 'cd /persist/manual/configuration && nix flake update zsh-histdb && nix flake update ansible-sshjail && doas nice -n 19 nixos-rebuild boot --flake /persist/manual/configuration#odo' diff --git a/nix/configuration/hosts/odo/DEPLOY_SWITCH b/nix/configuration/hosts/odo/DEPLOY_SWITCH index ff72161..1183503 100755 --- a/nix/configuration/hosts/odo/DEPLOY_SWITCH +++ b/nix/configuration/hosts/odo/DEPLOY_SWITCH @@ -14,6 +14,6 @@ nix flake update zsh-histdb --flake "$DIR/../../" nix flake update ansible-sshjail --flake "$DIR/../../" for f in /persist/manual/manual_add_to_store/*; do nix-store --add-fixed sha256 "$f"; done -nixos-rebuild switch --flake "$DIR/../../#odo" --target-host "$TARGET" --build-host "$TARGET" --fast --use-remote-sudo --max-jobs "$JOBS" "${@}" |& nom +nixos-rebuild switch --flake "$DIR/../../#odo" --target-host "$TARGET" --build-host "$TARGET" --fast --use-remote-sudo --max-jobs "$JOBS" --log-format internal-json -v "${@}" |& nom --json # rsync -av --progress --delete --exclude=.git "$DIR/../../../configuration" "talexander@${TARGET}:/persist/manual/" && ssh talexander@${TARGET} 'cd /persist/manual/configuration && nix flake update zsh-histdb && nix flake update ansible-sshjail && doas nice -n 19 nixos-rebuild switch --flake /persist/manual/configuration#odo' diff --git a/nix/configuration/hosts/odo/ISO b/nix/configuration/hosts/odo/ISO index caa8063..d16e846 100755 --- a/nix/configuration/hosts/odo/ISO +++ b/nix/configuration/hosts/odo/ISO @@ -9,4 +9,4 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" nix flake update zsh-histdb --flake "$DIR/../../" nix flake update ansible-sshjail --flake "$DIR/../../" for f in /persist/manual/manual_add_to_store/*; do nix-store --add-fixed sha256 "$f"; done -nix build --extra-experimental-features nix-command --extra-experimental-features flakes "$DIR/../..#iso.odo" --max-jobs "$JOBS" "${@}" |& nom +nix build --extra-experimental-features nix-command --extra-experimental-features flakes "$DIR/../..#iso.odo" --max-jobs "$JOBS" --log-format internal-json -v "${@}" |& nom --json diff --git a/nix/configuration/hosts/odo/SELF_BOOT b/nix/configuration/hosts/odo/SELF_BOOT index c5254a0..b13244a 100755 --- a/nix/configuration/hosts/odo/SELF_BOOT +++ b/nix/configuration/hosts/odo/SELF_BOOT @@ -9,4 +9,4 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" nix flake update zsh-histdb --flake "$DIR/../../" nix flake update ansible-sshjail --flake "$DIR/../../" for f in /persist/manual/manual_add_to_store/*; do nix-store --add-fixed sha256 "$f"; done -nixos-rebuild boot --show-trace --use-remote-sudo --max-jobs "$JOBS" --flake "$DIR/../../#odo" "${@}" |& nom +nixos-rebuild boot --show-trace --use-remote-sudo --max-jobs "$JOBS" --flake "$DIR/../../#odo" --log-format internal-json -v "${@}" |& nom --json diff --git a/nix/configuration/hosts/odo/SELF_BUILD b/nix/configuration/hosts/odo/SELF_BUILD index b36252c..3c0155b 100755 --- a/nix/configuration/hosts/odo/SELF_BUILD +++ b/nix/configuration/hosts/odo/SELF_BUILD @@ -9,4 +9,4 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" nix flake update zsh-histdb --flake "$DIR/../../" nix flake update ansible-sshjail --flake "$DIR/../../" for f in /persist/manual/manual_add_to_store/*; do nix-store --add-fixed sha256 "$f"; done -nixos-rebuild build --show-trace --use-remote-sudo --max-jobs "$JOBS" --flake "$DIR/../../#odo" "${@}" |& nom +nixos-rebuild build --show-trace --use-remote-sudo --max-jobs "$JOBS" --flake "$DIR/../../#odo" --log-format internal-json -v "${@}" |& nom --json diff --git a/nix/configuration/hosts/odo/SELF_SWITCH b/nix/configuration/hosts/odo/SELF_SWITCH index 916ac5e..3f3657a 100755 --- a/nix/configuration/hosts/odo/SELF_SWITCH +++ b/nix/configuration/hosts/odo/SELF_SWITCH @@ -9,4 +9,4 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" nix flake update zsh-histdb --flake "$DIR/../../" nix flake update ansible-sshjail --flake "$DIR/../../" for f in /persist/manual/manual_add_to_store/*; do nix-store --add-fixed sha256 "$f"; done -nixos-rebuild switch --show-trace --use-remote-sudo --max-jobs "$JOBS" --flake "$DIR/../../#odo" "${@}" |& nom +nixos-rebuild switch --show-trace --use-remote-sudo --max-jobs "$JOBS" --flake "$DIR/../../#odo" --log-format internal-json -v "${@}" |& nom --json diff --git a/nix/configuration/hosts/quark/DEPLOY_BOOT b/nix/configuration/hosts/quark/DEPLOY_BOOT index 50ae372..c1cc639 100755 --- a/nix/configuration/hosts/quark/DEPLOY_BOOT +++ b/nix/configuration/hosts/quark/DEPLOY_BOOT @@ -14,6 +14,6 @@ nix flake update zsh-histdb --flake "$DIR/../../" nix flake update ansible-sshjail --flake "$DIR/../../" for f in /persist/manual/manual_add_to_store/*; do nix-store --add-fixed sha256 "$f"; done -nixos-rebuild boot --flake "$DIR/../../#quark" --target-host "$TARGET" --build-host "$TARGET" --fast --use-remote-sudo --max-jobs "$JOBS" "${@}" |& nom +nixos-rebuild boot --flake "$DIR/../../#quark" --target-host "$TARGET" --build-host "$TARGET" --fast --use-remote-sudo --max-jobs "$JOBS" --log-format internal-json -v "${@}" |& nom --json # rsync -av --progress --delete --exclude=.git "$DIR/../../../configuration" "talexander@${TARGET}:/persist/manual/" && ssh talexander@${TARGET} 'cd /persist/manual/configuration && nix flake update zsh-histdb && nix flake update ansible-sshjail && doas nice -n 19 nixos-rebuild boot --flake /persist/manual/configuration#quark' diff --git a/nix/configuration/hosts/quark/DEPLOY_SWITCH b/nix/configuration/hosts/quark/DEPLOY_SWITCH index 5b4b769..1738e7f 100755 --- a/nix/configuration/hosts/quark/DEPLOY_SWITCH +++ b/nix/configuration/hosts/quark/DEPLOY_SWITCH @@ -14,6 +14,6 @@ nix flake update zsh-histdb --flake "$DIR/../../" nix flake update ansible-sshjail --flake "$DIR/../../" for f in /persist/manual/manual_add_to_store/*; do nix-store --add-fixed sha256 "$f"; done -nixos-rebuild switch --flake "$DIR/../../#quark" --target-host "$TARGET" --build-host "$TARGET" --fast --use-remote-sudo --max-jobs "$JOBS" "${@}" |& nom +nixos-rebuild switch --flake "$DIR/../../#quark" --target-host "$TARGET" --build-host "$TARGET" --fast --use-remote-sudo --max-jobs "$JOBS" --log-format internal-json -v "${@}" |& nom --json # rsync -av --progress --delete --exclude=.git "$DIR/../../../configuration" "talexander@${TARGET}:/persist/manual/" && ssh talexander@${TARGET} 'cd /persist/manual/configuration && nix flake update zsh-histdb && nix flake update ansible-sshjail && doas nice -n 19 nixos-rebuild switch --flake /persist/manual/configuration#quark' diff --git a/nix/configuration/hosts/quark/ISO b/nix/configuration/hosts/quark/ISO index cbde604..72caaa5 100755 --- a/nix/configuration/hosts/quark/ISO +++ b/nix/configuration/hosts/quark/ISO @@ -9,4 +9,4 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" nix flake update zsh-histdb --flake "$DIR/../../" nix flake update ansible-sshjail --flake "$DIR/../../" for f in /persist/manual/manual_add_to_store/*; do nix-store --add-fixed sha256 "$f"; done -nix build --extra-experimental-features nix-command --extra-experimental-features flakes "$DIR/../..#iso.quark" --max-jobs "$JOBS" "${@}" |& nom +nix build --extra-experimental-features nix-command --extra-experimental-features flakes "$DIR/../..#iso.quark" --max-jobs "$JOBS" --log-format internal-json -v "${@}" |& nom --json diff --git a/nix/configuration/hosts/quark/SELF_BOOT b/nix/configuration/hosts/quark/SELF_BOOT index 2c321c1..0c08623 100755 --- a/nix/configuration/hosts/quark/SELF_BOOT +++ b/nix/configuration/hosts/quark/SELF_BOOT @@ -9,4 +9,4 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" nix flake update zsh-histdb --flake "$DIR/../../" nix flake update ansible-sshjail --flake "$DIR/../../" for f in /persist/manual/manual_add_to_store/*; do nix-store --add-fixed sha256 "$f"; done -nixos-rebuild boot --show-trace --use-remote-sudo --max-jobs "$JOBS" --flake "$DIR/../../#quark" "${@}" |& nom +nixos-rebuild boot --show-trace --use-remote-sudo --max-jobs "$JOBS" --flake "$DIR/../../#quark" --log-format internal-json -v "${@}" |& nom --json diff --git a/nix/configuration/hosts/quark/SELF_BUILD b/nix/configuration/hosts/quark/SELF_BUILD index c1d062a..520d97c 100755 --- a/nix/configuration/hosts/quark/SELF_BUILD +++ b/nix/configuration/hosts/quark/SELF_BUILD @@ -9,4 +9,4 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" nix flake update zsh-histdb --flake "$DIR/../../" nix flake update ansible-sshjail --flake "$DIR/../../" for f in /persist/manual/manual_add_to_store/*; do nix-store --add-fixed sha256 "$f"; done -nixos-rebuild build --show-trace --use-remote-sudo --max-jobs "$JOBS" --flake "$DIR/../../#quark" "${@}" |& nom +nixos-rebuild build --show-trace --use-remote-sudo --max-jobs "$JOBS" --flake "$DIR/../../#quark" --log-format internal-json -v "${@}" |& nom --json diff --git a/nix/configuration/hosts/quark/SELF_SWITCH b/nix/configuration/hosts/quark/SELF_SWITCH index f7a3d7d..e5398a4 100755 --- a/nix/configuration/hosts/quark/SELF_SWITCH +++ b/nix/configuration/hosts/quark/SELF_SWITCH @@ -9,4 +9,4 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" nix flake update zsh-histdb --flake "$DIR/../../" nix flake update ansible-sshjail --flake "$DIR/../../" for f in /persist/manual/manual_add_to_store/*; do nix-store --add-fixed sha256 "$f"; done -nixos-rebuild switch --show-trace --use-remote-sudo --max-jobs "$JOBS" --flake "$DIR/../../#quark" "${@}" |& nom +nixos-rebuild switch --show-trace --use-remote-sudo --max-jobs "$JOBS" --flake "$DIR/../../#quark" --log-format internal-json -v "${@}" |& nom --json