From e6e409b77a955071af9a55fce984a9341525548d Mon Sep 17 00:00:00 2001 From: Nathan McCarty Date: Fri, 13 May 2022 20:15:25 -0400 Subject: [PATCH] Add mosh --- applications/utils-core.nix | 2 ++ modules/ssh.nix | 3 +++ 2 files changed, 5 insertions(+) diff --git a/applications/utils-core.nix b/applications/utils-core.nix index 709f399..6ed060c 100644 --- a/applications/utils-core.nix +++ b/applications/utils-core.nix @@ -49,5 +49,7 @@ dnsutils # Feh image viewer feh + # Mosh for better high-latency ssh + mosh ]; } diff --git a/modules/ssh.nix b/modules/ssh.nix index 55cce3c..870fc69 100644 --- a/modules/ssh.nix +++ b/modules/ssh.nix @@ -19,4 +19,7 @@ permitRootLogin = "no"; passwordAuthentication = false; }; + + # Enable mosh for connecting to phone + programs.mosh.enable = true; }