switch deprecated programs.ssh.matchBlocks to settings

This commit is contained in:
2026-05-25 19:08:48 +02:00
parent 3e036e05a3
commit 42aae8ce41
+7 -7
View File
@@ -108,15 +108,15 @@
# `programs.ssh.matchBlocks."*"`. # `programs.ssh.matchBlocks."*"`.
enableDefaultConfig = false; enableDefaultConfig = false;
matchBlocks."*" = { settings."*" = {
user = "root"; User = "root";
controlMaster = "auto"; ControlMaster = "auto";
controlPersist = "3600"; ControlPersist = "3600";
controlPath = "/run/user/%i/ssh-socket-%r@%h:%p"; ControlPath = "/run/user/%i/ssh-socket-%r@%h:%p";
serverAliveInterval = 20; ServerAliveInterval = 20;
}; };
matchBlocks."github.com".user = "git"; settings."github.com".User = "git";
extraConfig = '' extraConfig = ''
Include config_local Include config_local