update ssh keys
This commit is contained in:
parent
d2a6aceff3
commit
5957f0f442
2 changed files with 23 additions and 10 deletions
|
|
@ -7,16 +7,30 @@
|
||||||
|
|
||||||
programs.ssh = {
|
programs.ssh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
matchBlocks."viridian" = {
|
matchBlocks = {
|
||||||
hostname = "viridian.home.arpa";
|
"viridian" = {
|
||||||
identityFile = "/home/sajenim/.ssh/sajenim_sk";
|
hostname = "viridian.home.arpa";
|
||||||
port = 22;
|
user = "sajenim";
|
||||||
};
|
identityFile = "/home/sajenim/.ssh/sajenim_sk";
|
||||||
|
};
|
||||||
|
|
||||||
matchBlocks."lavender" = {
|
"lavender" = {
|
||||||
hostname = "lavender.home.arpa";
|
hostname = "lavender.home.arpa";
|
||||||
identityFile = "/home/sajenim/.ssh/sajenim_sk";
|
user = "sajenim";
|
||||||
port = 22;
|
identityFile = "/home/sajenim/.ssh/sajenim_sk";
|
||||||
|
};
|
||||||
|
|
||||||
|
"sajenim-github" = {
|
||||||
|
hostname = "github.com";
|
||||||
|
user = "git";
|
||||||
|
identityFile = "/home/sajenim/.ssh/sajenim-github_sk";
|
||||||
|
};
|
||||||
|
|
||||||
|
"jasmine-forgejo" = {
|
||||||
|
hostname = "git.sajenim.dev";
|
||||||
|
user = "forgejo";
|
||||||
|
identityFile = "/home/sajenim/.ssh/jasmine-forgejo_sk";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,6 @@
|
||||||
userEmail = "its.jassy@pm.me";
|
userEmail = "its.jassy@pm.me";
|
||||||
extraConfig = {
|
extraConfig = {
|
||||||
init.defaultBranch = "master";
|
init.defaultBranch = "master";
|
||||||
core.sshCommand = "ssh -i ~/.ssh/forgejo_sk -F /dev/null";
|
|
||||||
commit.gpgsign = "true";
|
commit.gpgsign = "true";
|
||||||
user.signingkey = "8563E358D4E8040E";
|
user.signingkey = "8563E358D4E8040E";
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue