fix ssh config
This commit is contained in:
parent
0062a9ee53
commit
ac549a0f52
1 changed files with 15 additions and 13 deletions
|
@ -1,19 +1,21 @@
|
|||
{ ... }: {
|
||||
programs.ssh = {
|
||||
enable = true;
|
||||
"build-nas" = {
|
||||
hostname = "backup.int.chir.rs";
|
||||
identitiesOnly = true;
|
||||
identityFile = "~/.ssh/id_ed25519";
|
||||
port = 22;
|
||||
user = "darkkirb";
|
||||
};
|
||||
"build-pc" = {
|
||||
hostname = "nutty-noon.int.chir.rs";
|
||||
identitiesOnly = true;
|
||||
identityFile = "~/.ssh/id_ed25519";
|
||||
port = 22;
|
||||
user = "darkkirb";
|
||||
matchBlocks = {
|
||||
"build-nas" = {
|
||||
hostname = "backup.int.chir.rs";
|
||||
identitiesOnly = true;
|
||||
identityFile = "~/.ssh/id_ed25519";
|
||||
port = 22;
|
||||
user = "darkkirb";
|
||||
};
|
||||
"build-pc" = {
|
||||
hostname = "nutty-noon.int.chir.rs";
|
||||
identitiesOnly = true;
|
||||
identityFile = "~/.ssh/id_ed25519";
|
||||
port = 22;
|
||||
user = "darkkirb";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue