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."*"`.
enableDefaultConfig = false;
matchBlocks."*" = {
user = "root";
controlMaster = "auto";
controlPersist = "3600";
controlPath = "/run/user/%i/ssh-socket-%r@%h:%p";
serverAliveInterval = 20;
settings."*" = {
User = "root";
ControlMaster = "auto";
ControlPersist = "3600";
ControlPath = "/run/user/%i/ssh-socket-%r@%h:%p";
ServerAliveInterval = 20;
};
matchBlocks."github.com".user = "git";
settings."github.com".User = "git";
extraConfig = ''
Include config_local