NixOS and Home Manager config

chore(ssh): update to new options

nel.pet 882527f7 ab28510f

verified
Changed files
+13 -1
modules
home
+13 -1
modules/home/ssh.nix
···
{ config, ... }: {
programs.ssh = {
enable = true;
-
addKeysToAgent = "yes";
+
enableDefaultConfig = false;
matchBlocks = {
+
"*" = {
+
forwardAgent = false;
+
addKeysToAgent = "yes";
+
compression = false;
+
serverAliveInterval = 0;
+
serverAliveCountMax = 3;
+
hashKnownHosts = false;
+
userKnownHostsFile = "~/.ssh/known_hosts";
+
controlMaster = "no";
+
controlPath = "~/.ssh/master-%r@%n:%p";
+
controlPersist = "no";
+
};
"nixos-shell" = {
hostname = "localhost";
port = 2222;