all repos — nixfiles @ 40dbb2d32e5cc83f0aa03b113b54d1a916ffb382

System and user configuration, managed by nix and home-manager

ssh: also enable mosh, for cases of poor/varying connectivity

Alin
commit

40dbb2d32e5cc83f0aa03b113b54d1a916ffb382

parent

17ebf023391d6a6222871f789891a1b0317c8f63

2 files changed, 13 insertions(+), 1 deletion(-)

changed files
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 + ]; }