+23
-12
home/emily/cli/ssh.nix
+23
-12
home/emily/cli/ssh.nix
···
1
-
{...}:
1
+
{ ... }:
2
2
{
3
3
programs.ssh = {
4
4
enable = true;
5
-
includes = [ "~/.config/ssh/config" ];
6
-
#matchBlocks = {
7
-
# "m1-gitea" = {
8
-
# hostname = "localhost";
9
-
# user = "git";
10
-
# port = "32769";
11
-
# identitiesOnly = true;
12
-
# identityFile = "~/.ssh/id_m1_gh";
13
-
14
-
# };
15
-
#};
16
5
enableDefaultConfig = false;
6
+
# includes = [ "~/.config/ssh/config" ];
7
+
matchBlocks = {
8
+
"m1-gitea" = {
9
+
hostname = "localhost";
10
+
user = "git";
11
+
identityFile = "~/.ssh/id_gh";
12
+
identitiesOnly = true;
13
+
};
14
+
"m1-github" = {
15
+
hostname = "github.com";
16
+
user = "git";
17
+
port = "32769";
18
+
identityFile = "~/.ssh/id_gh";
19
+
identitiesOnly = true;
20
+
};
21
+
"m1-tangled" = {
22
+
hostname = "tangled.org";
23
+
user = "git";
24
+
identityFile = "~/.ssh/id_tngld";
25
+
identitiesOnly = true;
26
+
};
27
+
};
17
28
};
18
29
}