diff options
author | Alan Pearce | 2020-06-11 13:24:31 +0200 |
---|---|---|
committer | Alan Pearce | 2020-06-11 13:24:31 +0200 |
commit | 0254860ad9904f55af60b7e6cb02ddd88e2a9a4e (patch) | |
tree | 862d7d19566690264423c0471aaee39c44744f97 /user | |
parent | 6c46c6e4a6567ecd72cffd66c3e8e7de64766aa3 (diff) | |
download | nixfiles-0254860ad9904f55af60b7e6cb02ddd88e2a9a4e.tar.lz nixfiles-0254860ad9904f55af60b7e6cb02ddd88e2a9a4e.tar.zst nixfiles-0254860ad9904f55af60b7e6cb02ddd88e2a9a4e.zip |
ssh: add initial settings
Diffstat (limited to 'user')
-rw-r--r-- | user/prefect.nix | 2 | ||||
-rw-r--r-- | user/settings/ssh.nix | 12 |
2 files changed, 14 insertions, 0 deletions
diff --git a/user/prefect.nix b/user/prefect.nix index 8f8d94b8..c4f6ea0d 100644 --- a/user/prefect.nix +++ b/user/prefect.nix @@ -18,6 +18,8 @@ ./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 diff --git a/user/settings/ssh.nix b/user/settings/ssh.nix new file mode 100644 index 00000000..0c8300eb --- /dev/null +++ b/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; + }; +} |