update ssh config
This commit is contained in:
parent
1872e44454
commit
1e449f8ec3
|
@ -4,53 +4,70 @@
|
|||
userName = "janis";
|
||||
userEmail = "janis@nirgendwo.xyz";
|
||||
|
||||
signing = {
|
||||
format = "ssh";
|
||||
key = "~/.ssh/duralumin_janis-github";
|
||||
};
|
||||
|
||||
extraConfig = {
|
||||
init = {
|
||||
defaultBranch = "main";
|
||||
};
|
||||
safe = {
|
||||
directory = "/etc/nixos/config";
|
||||
};
|
||||
commit = {
|
||||
gpgsign = "true";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
programs.ssh = {
|
||||
addKeysToAgent = "yes";
|
||||
enable = true;
|
||||
matchBlocks = {
|
||||
"git.nirgendwo.xyz" = {
|
||||
host = "git.nirgendwo.xyz";
|
||||
hostname = "git.nirgendwo.xyz";
|
||||
identityFile = "~/.ssh/id_ed25519_nirgendwo";
|
||||
addKeysToAgent = "yes";
|
||||
};
|
||||
"nirgendwo.xyz" = {
|
||||
host = "nirgendwo.xyz";
|
||||
hostname = "nirgendwo.xyz";
|
||||
identityFile = "~/.ssh/id_ed25519_nirgendwo";
|
||||
addKeysToAgent = "yes";
|
||||
};
|
||||
"nirgendswo.com" = {
|
||||
host = "nirgendswo.com";
|
||||
hostname = "nirgendswo.com";
|
||||
identityFile = "~/.ssh/id_ed25519_nirgendwo";
|
||||
addKeysToAgent = "yes";
|
||||
};
|
||||
"nirgendwo" = {
|
||||
host = "nirgendwo";
|
||||
hostname = "nirgendwo.xyz";
|
||||
user = "root";
|
||||
identityFile = "~/.ssh/id_ed25519_nirgendwo";
|
||||
addKeysToAgent = "yes";
|
||||
};
|
||||
"github.com:janis-bhm" = {
|
||||
host = "github.com:janis-bhm";
|
||||
hostname = "github.com";
|
||||
identityFile = "~/.ssh/duralumin_janis-github";
|
||||
addKeysToAgent = "yes";
|
||||
};
|
||||
"github-janis-bhm" = {
|
||||
host = "github.com:janis-bhm";
|
||||
"github-janis" = {
|
||||
host = "github-janis";
|
||||
hostname = "github.com";
|
||||
user = "git";
|
||||
identityFile = "~/.ssh/id_ed25519_github_janis";
|
||||
identityFile = "~/.ssh/duralumin_janis-github";
|
||||
addKeysToAgent = "yes";
|
||||
};
|
||||
"noonebtw.github.com" = {
|
||||
host = "noonebtw.github.com";
|
||||
hostname = "github.com";
|
||||
identityFile = "~/.ssh/id_ed25519_git";
|
||||
addKeysToAgent = "yes";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue