blob: c3b011eca41a833b1ef1023df786144ad5da37e0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
{...}: {
programs.ssh = {
enable = true;
enableDefaultConfig = false;
matchBlocks = {
"*" = {
addKeysToAgent = "yes";
forwardAgent = false;
};
"cgit" = {
user = "git";
hostname = "100.76.17.20";
identityFile = "~/.ssh/cgit";
};
"codeberg" = {
user = "git";
hostname = "codeberg.org";
identityFile = "~/.ssh/codeberg";
};
"poseidon" = {
user = "admin";
hostname = "81.2.236.202";
identityFile = "/mnt/ssh-keys/poseidon";
};
};
};
}
|