ssh: add initial settings
Alan Pearce alan@alanpearce.eu
Thu, 11 Jun 2020 13:24:31 +0200
2 files changed, 14 insertions(+), 0 deletions(-)
M user/prefect.nix → user/prefect.nix
@@ -18,6 +18,8 @@ ./settings/nixos.nix ./settings/rofi.nix ./settings/passwords.nix ./settings/satoshipay.nix + ## TODO: figure out how to add `gcloud compute config-ssh` + ./settings/ssh.nix ./settings/sxhkd.nix ./settings/tabnine.nix ./settings/user-interface.nix
A user/settings/ssh.nix
@@ -0,0 +1,12 @@+{ config, lib, pkgs, ... }: + +{ + programs.ssh = { + enable = true; + compression = true; + controlMaster = "auto"; + controlPersist = "10m"; + hashKnownHosts = true; + serverAliveInterval = 15; + }; +}