23 lines
522 B
Nix
23 lines
522 B
Nix
_: {
|
|
programs.ssh = {
|
|
controlMaster = "auto";
|
|
controlPersist = "10m";
|
|
enable = true;
|
|
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";
|
|
};
|
|
};
|
|
};
|
|
}
|