feat(ssh): configure the rwth gitlab

This commit is contained in:
EinEtwas 2024-10-27 15:36:32 +01:00
parent 44fdc8125c
commit f1ae8f0344
Signed by: etwas
SSH key fingerprint: SHA256:bHhIeAdn/2k9jmOs6+u6ox98VYmoHUN3HfnpV2w8Ws0
4 changed files with 19 additions and 3 deletions

View file

@ -4,13 +4,13 @@
matchBlocks = { matchBlocks = {
"1bvps" = { "1bvps" = {
host = "1bvps"; host = "178.254.43.196";
hostname = "178.254.43.196"; hostname = "178.254.43.196";
identityFile = [ "/home/rhea/.ssh/id_1bvps" ]; identityFile = [ "/home/rhea/.ssh/id_1bvps" ];
}; };
"gcd-etwas" = { "gcd-etwas" = {
host = "gcd-etwas"; host = "git.catgirl.dog";
hostname = "git.catgirl.dog"; hostname = "git.catgirl.dog";
identityFile = [ "/home/rhea/.ssh/id_gcd_etwas" ]; identityFile = [ "/home/rhea/.ssh/id_gcd_etwas" ];
user = "git"; user = "git";
@ -18,12 +18,20 @@
}; };
"gh-etwas" = { "gh-etwas" = {
host = "gh-etwas"; host = "github.com";
hostname = "github.com"; hostname = "github.com";
identityFile = [ "/home/rhea/.ssh/id_gh_etwas" ]; identityFile = [ "/home/rhea/.ssh/id_gh_etwas" ];
user = "git"; user = "git";
port = 22; port = 22;
}; };
"glrwth-tuda" = {
host = "git.rwth-aachen.de";
hostname = "git.rwth-aachen.de";
identityFile = [ "/home/rhea/.ssh/id_glrwth_tuda" ];
user = "git";
port = 22;
};
}; };
}; };
} }

View file

@ -31,6 +31,13 @@
symlink = false; symlink = false;
}; };
glrwth_tuda = {
file = ../../secrets/glrwth_token.age;
path = "/home/rhea/.ssh/id_glrwth_tuda";
owner = "rhea";
symlink = false;
};
etwas_sign_key = { etwas_sign_key = {
file = ../../secrets/sign_etwas.age; file = ../../secrets/sign_etwas.age;
path = "/home/rhea/.ssh/etwas_sign_key"; path = "/home/rhea/.ssh/etwas_sign_key";

BIN
secrets/glrwth_token.age Normal file

Binary file not shown.

View file

@ -10,4 +10,5 @@ in
"sign_etwas.age".publicKeys = [ rhea-laptop ]; "sign_etwas.age".publicKeys = [ rhea-laptop ];
"fbda_wg_priv_key.age".publicKeys = [ rhea-laptop ]; "fbda_wg_priv_key.age".publicKeys = [ rhea-laptop ];
"fbda_wg_psk.age".publicKeys = [ rhea-laptop ]; "fbda_wg_psk.age".publicKeys = [ rhea-laptop ];
"glrwth_token.age".publicKeys = [ rhea-laptop ];
} }