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 = {
enable = true;
enableDefaultConfig = false;
matchBlocks = {
"intern" = {
host = "*";
identityFile = "${config.home.homeDirectory}/.ssh/intern";
};
"extern" = {
host = "*";
identityFile = "${config.home.homeDirectory}/.ssh/extern";
"*" = {
identityFile = [
"${config.home.homeDirectory}/.ssh/intern"
"${config.home.homeDirectory}/.ssh/extern"
];
};
};
};