refactor(ssh): centralize SSH config into ssh module

This commit is contained in:
2026-07-12 13:43:11 +02:00
parent 0fd3fe2570
commit beb894e97c
4 changed files with 34 additions and 22 deletions
-11
View File
@@ -61,16 +61,5 @@ in
colmenaWrapped
deployRsWrapped
];
programs.ssh.settings = lib.genAttrs hostsWithKeys (
hostname:
let
meta = myUtils.hostMeta (hostDir + "/${hostname}");
in
{
User = meta.host.username;
HostName = hostname;
ControlPath = "~/.ssh/socket-%r@%h:%p";
}
);
};
}