set dotenv-load default: @just --choose update: nix flake update --commit-lock-file build machine="": #!/usr/bin/env bash set -euxo pipefail nixos-rebuild --flake .#{{machine}} --log-format internal-json build |& nom --json pkg name: #!/usr/bin/env bash set -euxo pipefail nix build --log-format internal-json -v .#{{name}} |& nom --json diff: nvd diff /run/current-system ./result switch machine="": nixos-rebuild --flake .#{{machine}} --use-remote-sudo switch boot machine="": nixos-rebuild --flake .#{{machine}} --use-remote-sudo boot fmt: nix fmt deploy host: colmena apply --on {{host}} --experimental-flake-eval [confirm] cold-deploy host: colmena apply --on {{host}} --reboot --experimental-flake-eval