ssh: custom config on the LAN
authorJulien Moutinho <julm@sourcephile.fr>
Thu, 8 Apr 2021 12:02:40 +0000 (14:02 +0200)
committerJulien Moutinho <julm@sourcephile.fr>
Thu, 8 Apr 2021 12:02:40 +0000 (14:02 +0200)
homes/julm.nix

index e30455b3b0ccee92b669735d90f212a4880b05bf..7e7b1d40ca17536a5e790239f723fbaa13122720 100644 (file)
@@ -38,6 +38,12 @@ home.file.".irssi/passwd".text = ''
 '';
 programs.vim.enable = true;
 programs.ssh.enable = true;
+programs.ssh.matchBlocks."lan.losurdo.sourcephile.fr" = {
+  compression = true; # Helps to get a better framerate with forwardX11
+  forwardX11 = true;
+  forwardX11Trusted = true;
+  serverAliveInterval = 15;
+};
 programs.tmux.enable = true;
 programs.man.enable = true;
 manual.manpages.enable = false;