diff --git a/scripts/rebuildHM.sh b/scripts/rebuildHM.sh index 341fd9e..7d28f73 100755 --- a/scripts/rebuildHM.sh +++ b/scripts/rebuildHM.sh @@ -11,7 +11,7 @@ fi if command -v nom &> /dev/null && [ "$MODE" == "switch" ]; then nix build "${REPO_ROOT}#homeConfigurations.$(hostname)-$(whoami).activationPackage" "$@" --keep-failed --log-format internal-json -v |& nom --json - ./activate + ./result/activate else echo "Install nix-output-monitor for better output" nix run .#home-manager -- --flake "${REPO_ROOT}#$(hostname)-$(whoami)" "$MODE" "$@"