fix hm activate path

This commit is contained in:
chaos 2024-07-24 16:38:54 +01:00
parent 853cc6b86d
commit 0f9811acdb
No known key found for this signature in database

View file

@ -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" "$@"