update syntax

This commit is contained in:
2026-01-06 02:03:50 -06:00
parent 61bcc8776f
commit d1237dab12
2 changed files with 17 additions and 2 deletions

View File

@@ -27,7 +27,7 @@
{ path = "${config.sops.templates.gitconfig.path}"; } { path = "${config.sops.templates.gitconfig.path}"; }
]; ];
extraConfig = { settings = {
init = { init = {
defaultBranch = "master"; defaultBranch = "master";
}; };

View File

@@ -1,8 +1,23 @@
{ config, lib, pkgs, ... }: { { ... }: {
programs.ssh = { programs.ssh = {
enable = true; enable = true;
# defaults as of 25.11
matchBlocks."*" = {
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";
};
}; };
} }