diff --git a/user.sh b/user.sh index f2b6513a..53c55b77 100755 --- a/user.sh +++ b/user.sh @@ -60,7 +60,7 @@ if [[ -z "$USER_PROFILE" ]] || [[ ! -d "user/$USER_PROFILE" ]]; then fi -if [ ! -f "$HOME/.ssh/id_rsa" ]; then +if [ ! -f "$HOME/.ssh/id_rsa.pub" ]; then echo "Generating ssh key..." ssh-keygen -C "$HOSTNAME" -f "$HOME/.ssh/id_rsa" -P ""; fi diff --git a/user/workstation/user.sh b/user/workstation/user.sh index c10da685..131d10ad 100644 --- a/user/workstation/user.sh +++ b/user/workstation/user.sh @@ -12,6 +12,7 @@ source "$ROOT/user/home/.profile" systemctl enable --user syncthing systemctl enable --user sunshine +systemctl enable --user ssh-agent section "Downloading random stuff from the internet..." git-get https://github.com/mrzool/bash-sensible.git \ diff --git a/user/workstation/user/home/.config/Code/User/settings.json b/user/workstation/user/home/.config/Code/User/settings.json index a84f6c5f..2401c7fe 100644 --- a/user/workstation/user/home/.config/Code/User/settings.json +++ b/user/workstation/user/home/.config/Code/User/settings.json @@ -125,6 +125,7 @@ "ENOTSUP", "errno", "esbenp", + "espeak", "etag", "factorypath", "fcntl", @@ -222,6 +223,7 @@ "Resvg", "retr", "rkyv", + "rouille", "rsvg", "RTLD", "runtimes", diff --git a/user/workstation/user/home/.profile b/user/workstation/user/home/.profile index 33e035b7..0031ae03 100644 --- a/user/workstation/user/home/.profile +++ b/user/workstation/user/home/.profile @@ -36,3 +36,5 @@ export _JAVA_AWT_WM_NONREPARENTING=1 # https://blog.ando.fyi/posts/diagnosing-an-unsual-wifi-issue/ export QT_BEARER_POLL_TIMEOUT=-1 + +export SSH_AUTH_SOCK=${XDG_RUNTIME_DIR}/ssh-agent.socket