diff --git a/pkgs/nix-tools/darwin-rebuild.sh b/pkgs/nix-tools/darwin-rebuild.sh index af00e869..af54af50 100644 --- a/pkgs/nix-tools/darwin-rebuild.sh +++ b/pkgs/nix-tools/darwin-rebuild.sh @@ -98,7 +98,7 @@ fi if [ "$action" = edit ]; then darwinConfig=$(nix-instantiate --find-file darwin-config) - exec "${EDITOR:-nano}" "$darwinConfig" + exec "${EDITOR:-vi}" "$darwinConfig" fi if ! [ "$action" = list -o "$action" = rollback ]; then