diff options
author | Silas Schöffel <sils@sils.li> | 2025-09-13 16:20:43 +0200 |
---|---|---|
committer | Silas Schöffel <sils@sils.li> | 2025-09-13 16:20:43 +0200 |
commit | 837044d4d39046db29b2e6c39bba37ba59d0e7e3 (patch) | |
tree | d4465fcbe2d4617ffc7b249503282202ef24bd86 /hm/ssh/default.nix | |
parent | hm/packages: remove river (diff) | |
download | nix-config-837044d4d39046db29b2e6c39bba37ba59d0e7e3.zip |
(According to home manager option docs)
Diffstat (limited to 'hm/ssh/default.nix')
-rw-r--r-- | hm/ssh/default.nix | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/hm/ssh/default.nix b/hm/ssh/default.nix index 368830f..d123a6a 100644 --- a/hm/ssh/default.nix +++ b/hm/ssh/default.nix @@ -3,6 +3,7 @@ programs.ssh = { enable = true; + enableDefaultConfig = false; matchBlocks = let genBox = user: { inherit user; @@ -10,6 +11,18 @@ }; username = "u384702"; in { + "*" = { + forwardAgent = false; + addKeysToAgent = "no"; + compression = false; + serverAliveInterval = 0; + serverAliveCountMax = 3; + hashKnownHosts = false; + userKnownHostsFile = "~/.ssh/known_hosts"; + controlMaster = "no"; + controlPath = "~/.ssh/master-%r@%n:%p"; + controlPersist = "no"; + }; "storagebox" = genBox username; "storagebox-1" = genBox "${username}-sub1"; }; |