Don't hardcode the UID
This commit is contained in:
parent
f8fd18f05e
commit
0037a68143
|
@ -18,7 +18,7 @@ fi
|
||||||
|
|
||||||
# Allow for connecting to X11 and the SSH agent
|
# Allow for connecting to X11 and the SSH agent
|
||||||
export DISPLAY=:0
|
export DISPLAY=:0
|
||||||
export SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
|
export SSH_AUTH_SOCK=/run/user/$UID/keyring/ssh
|
||||||
export SSH_AGENT_PID=$(pidof ssh-agent)
|
export SSH_AGENT_PID=$(pidof ssh-agent)
|
||||||
|
|
||||||
# Restic settings
|
# Restic settings
|
||||||
|
|
Loading…
Reference in New Issue