mirror of
https://github.com/Moe1369/nix-fleet.git
synced 2026-04-24 15:59:06 +02:00
ssh config
This commit is contained in:
@@ -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"
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user