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