ssh: also enable mosh, for cases of poor/varying connectivity
2 files changed, 13 insertions(+), 1 deletion(-)
M system/settings/services/ssh.nix → system/settings/services/ssh.nix
@@ -12,6 +12,11 @@ ]; }; }; + programs.mosh = { + enable = true; + openFirewall = true; + }; + security.pam = { sshAgentAuth.enable = true; services.sudo.sshAgentAuth = true;
M user/settings/ssh.nix → user/settings/ssh.nix
@@ -1,4 +1,7 @@ -{ ... }: +{ + pkgs, + ... +}: let data = import ../../data; in@@ -27,4 +30,8 @@ }; home.shellAliases = { essh = "ssh -o StrictHostKeyChecking=no -o GlobalKnownHostsFile=/dev/null -o UserKnownHostsFile=/dev/null"; }; + + home.packages = [ + pkgs.mosh + ]; }