nixos-edit init ssh key detect fix

This commit is contained in:
Daniella / Tove 2024-10-19 03:15:57 +02:00
parent 71a1e341f5
commit 315c4e3d05

View file

@ -24,7 +24,7 @@ pkgs.writeShellScriptBin "nixos-edit" ''
echo dir setup done
echo "> setting up ssh"
echo ssh setup
if ! [ -e ~/.ssh/id_* ] ; then
if ! [ -e ~/.ssh/id_*.pub ] ; then
ssh-keygen || exit
fi
echo ssh key created