ssh config

This commit is contained in:
2026-03-08 22:41:25 +01:00
parent 10dae59c08
commit f2a4b1f945

View File

@@ -16,14 +16,13 @@
}; };
programs.ssh = { programs.ssh = {
enable = true; enable = true;
enableDefaultConfig = false;
matchBlocks = { matchBlocks = {
"intern" = { "*" = {
host = "*"; identityFile = [
identityFile = "${config.home.homeDirectory}/.ssh/intern"; "${config.home.homeDirectory}/.ssh/intern"
}; "${config.home.homeDirectory}/.ssh/extern"
"extern" = { ];
host = "*";
identityFile = "${config.home.homeDirectory}/.ssh/extern";
}; };
}; };
}; };