diff --git a/common/home/packages.nix b/common/home/packages.nix index 52f8eba4..a081e58f 100644 --- a/common/home/packages.nix +++ b/common/home/packages.nix @@ -17,6 +17,7 @@ progress wget tree + openssh mosh rsync killall diff --git a/common/nix-on-droid.nix b/common/nix-on-droid.nix index 02fc40b4..5a58dc30 100644 --- a/common/nix-on-droid.nix +++ b/common/nix-on-droid.nix @@ -43,10 +43,10 @@ { programs.bash.shellAliases = { - pc = "mosh matt@100.64.0.6 -- tmux -2u new -At phone"; - oksys = "mosh matt@100.64.0.1 -- tmux -2u new -At phone"; - servivi = "mosh matt@100.64.0.7 -- tmux -2u new -At phone"; - pve = "mosh matt@100.64.0.4 -- tmux -2u new -At phone"; + pc = "ssh -t matt@100.64.0.6 'tmux -2u new -At phone'"; + oksys = "ssh -t matt@100.64.0.1 'tmux -2u new -At phone'"; + servivi = "ssh -t matt@100.64.0.7 'tmux -2u new -At phone'"; + pve = "ssh -t matt@100.64.0.4 'tmux -2u new -At phone'"; pod = "mosh matt@100.64.0.4 -- ssh -t -p 6768 matt@10.0.0.122 'tmux -2u new -At phone'"; jelly = "mosh matt@100.64.0.4 -- ssh -t matt@10.0.0.123 'tmux -2u new -At phone'"; diff --git a/modules/tailscale.nix b/modules/tailscale.nix index b1de07f0..9ebe6f7c 100644 --- a/modules/tailscale.nix +++ b/modules/tailscale.nix @@ -12,12 +12,11 @@ home-manager.users.${config.vars.user}.programs.bash.shellAliases = { tup = "tailscale up --login-server https://headscale.nelim.org"; - pc = "mosh matt@binto -- tmux -2u new -At ${config.vars.hostName}"; - oksys = "mosh matt@oksys -- tmux -2u new -At ${config.vars.hostName}"; - servivi = "mosh matt@servivi -- tmux -2u new -At ${config.vars.hostName}"; - pve = "mosh matt@pve -- tmux -2u new -At ${config.vars.hostName}"; + pc = "ssh -t matt@binto 'tmux -2u new -At ${config.vars.hostName}'"; + oksys = "ssh -t matt@oksys 'tmux -2u new -At ${config.vars.hostName}'"; + servivi = "ssh -t matt@servivi 'tmux -2u new -At ${config.vars.hostName}'"; + pve = "ssh -t matt@pve 'tmux -2u new -At ${config.vars.hostName}'"; - mc = "mosh mc@mc -- tmux -2u new -At ${config.vars.hostName}"; pod = "mosh matt@pve -- ssh -t -p 6768 matt@10.0.0.122 'tmux -2u new -At ${config.vars.hostName}'"; jelly = "mosh matt@pve -- ssh -t matt@10.0.0.123 'tmux -2u new -At ${config.vars.hostName}'"; qbit = "mosh matt@pve -- ssh -t matt@10.0.0.128 'tmux -2u new -At ${config.vars.hostName}'";