diff --git a/bin/switch.sh b/bin/switch.sh index 2b700423..c8784059 100755 --- a/bin/switch.sh +++ b/bin/switch.sh @@ -11,9 +11,9 @@ case ${NIXARCH} in sudo nixos-rebuild switch --flake . $* ;; *-darwin) - notify-wrapper -m "Nix build complete" ./bin/build.sh - ./result/activate-user - sudo ./result/activate + ./bin/build.sh && \ + ./result/activate-user && \ + sudo ./result/activate ;; *) echo "Unhandled architecture: ${NIXARCH}" >&2