Fix broken dotdrop install on termux
This commit is contained in:
parent
6711038e53
commit
f697324821
2 changed files with 5 additions and 12 deletions
|
@ -167,7 +167,7 @@ alias i='iwctl station wlan0'
|
||||||
cpufreq() { watch -n 1 eval "cat /proc/cpuinfo | grep MHz" }
|
cpufreq() { watch -n 1 eval "cat /proc/cpuinfo | grep MHz" }
|
||||||
|
|
||||||
# dotdrop
|
# dotdrop
|
||||||
alias dotdrop="source $DOTREPO/secrets/secrets && UID=$(id -u) dotdrop --cfg=$DOTREPO/config.toml {%@@ if profile == "Isengard" @@%} -p Isengard{%@@ endif @@%}"
|
alias dotdrop="source $DOTREPO/secrets/secrets && {%@@ if distro_id != "termux" @@%} UID=$(id -u) {%@@ endif @@%} dotdrop --cfg=$DOTREPO/config.toml {%@@ if profile == "Isengard" @@%} -p Isengard{%@@ endif @@%}"
|
||||||
|
|
||||||
|
|
||||||
alias sdotdrop="source $DOTREPO/secrets/secrets && sudo -E dotdrop --cfg=$DOTREPO/config-root.toml"
|
alias sdotdrop="source $DOTREPO/secrets/secrets && sudo -E dotdrop --cfg=$DOTREPO/config-root.toml"
|
||||||
|
|
|
@ -11,11 +11,12 @@ host moria
|
||||||
HostName korhonen.cc
|
HostName korhonen.cc
|
||||||
port 221
|
port 221
|
||||||
User balrog
|
User balrog
|
||||||
StreamLocalBindUnlink yes
|
{%@@ if distro_id != "termux" @@%}
|
||||||
# Forward GPG agent
|
# Forward GPG agent
|
||||||
StreamLocalBindUnlink yes
|
StreamLocalBindUnlink yes
|
||||||
RemoteForward /run/user/1000/gnupg/S.gpg-agent /run/user/{{@@ env['UID'] @@}}/gnupg/S.gpg-agent.extra
|
RemoteForward /run/user/1000/gnupg/S.gpg-agent /run/user/{{@@ env['UID'] @@}}/gnupg/S.gpg-agent.extra
|
||||||
RemoteForward /run/user/1000/gnupg/S.gpg-agent.ssh /run/user/{{@@ env['UID'] @@}}/gnupg/S.gpg-agent.ssh
|
RemoteForward /run/user/1000/gnupg/S.gpg-agent.ssh /run/user/{{@@ env['UID'] @@}}/gnupg/S.gpg-agent.ssh
|
||||||
|
{%@@ endif @@%}
|
||||||
|
|
||||||
host beleriand
|
host beleriand
|
||||||
HostName beleriand.korhonen.lan
|
HostName beleriand.korhonen.lan
|
||||||
|
@ -29,15 +30,6 @@ host rivendell
|
||||||
HostName rivendell.korhonen.lan
|
HostName rivendell.korhonen.lan
|
||||||
User root
|
User root
|
||||||
|
|
||||||
host tirion
|
|
||||||
HostName tirion.korhonen.cc
|
|
||||||
port 22
|
|
||||||
User gandalf
|
|
||||||
# Forward GPG agent
|
|
||||||
StreamLocalBindUnlink yes
|
|
||||||
RemoteForward /run/user/1000/gnupg/S.gpg-agent /run/user/{{@@ env['UID'] @@}}/gnupg/S.gpg-agent.extra
|
|
||||||
RemoteForward /run/user/1000/gnupg/S.gpg-agent.ssh /run/user/{{@@ env['UID'] @@}}/gnupg/S.gpg-agent.ssh
|
|
||||||
|
|
||||||
host forgejo
|
host forgejo
|
||||||
HostName git.korhonen.cc
|
HostName git.korhonen.cc
|
||||||
port 2882
|
port 2882
|
||||||
|
@ -68,11 +60,12 @@ host gondor
|
||||||
hostname tolkku.net
|
hostname tolkku.net
|
||||||
port 22
|
port 22
|
||||||
User reekymarko
|
User reekymarko
|
||||||
StreamLocalBindUnlink yes
|
{%@@ if distro_id != "termux" @@%}
|
||||||
# Forward GPG agent
|
# Forward GPG agent
|
||||||
StreamLocalBindUnlink yes
|
StreamLocalBindUnlink yes
|
||||||
RemoteForward /run/user/1000/gnupg/S.gpg-agent /run/user/{{@@ env['UID'] @@}}/gnupg/S.gpg-agent.extra
|
RemoteForward /run/user/1000/gnupg/S.gpg-agent /run/user/{{@@ env['UID'] @@}}/gnupg/S.gpg-agent.extra
|
||||||
RemoteForward /run/user/1000/gnupg/S.gpg-agent.ssh /run/user/{{@@ env['UID'] @@}}/gnupg/S.gpg-agent.ssh
|
RemoteForward /run/user/1000/gnupg/S.gpg-agent.ssh /run/user/{{@@ env['UID'] @@}}/gnupg/S.gpg-agent.ssh
|
||||||
|
{%@@ endif @@%}
|
||||||
|
|
||||||
host anitta
|
host anitta
|
||||||
HostName 10.200.200.4
|
HostName 10.200.200.4
|
||||||
|
|
Loading…
Reference in a new issue