From f1ae8f03449a13b456d880aaac8fcbda0378494a Mon Sep 17 00:00:00 2001 From: EinEtwas Date: Sun, 27 Oct 2024 15:36:32 +0100 Subject: [PATCH] feat(ssh): configure the rwth gitlab --- home/essentials/ssh.nix | 14 +++++++++++--- modules/utils/agenix.nix | 7 +++++++ secrets/glrwth_token.age | Bin 0 -> 623 bytes secrets/secrets.nix | 1 + 4 files changed, 19 insertions(+), 3 deletions(-) create mode 100644 secrets/glrwth_token.age diff --git a/home/essentials/ssh.nix b/home/essentials/ssh.nix index e3145db..7177765 100644 --- a/home/essentials/ssh.nix +++ b/home/essentials/ssh.nix @@ -4,13 +4,13 @@ matchBlocks = { "1bvps" = { - host = "1bvps"; + host = "178.254.43.196"; hostname = "178.254.43.196"; identityFile = [ "/home/rhea/.ssh/id_1bvps" ]; }; "gcd-etwas" = { - host = "gcd-etwas"; + host = "git.catgirl.dog"; hostname = "git.catgirl.dog"; identityFile = [ "/home/rhea/.ssh/id_gcd_etwas" ]; user = "git"; @@ -18,12 +18,20 @@ }; "gh-etwas" = { - host = "gh-etwas"; + host = "github.com"; hostname = "github.com"; identityFile = [ "/home/rhea/.ssh/id_gh_etwas" ]; user = "git"; 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; + }; }; }; } diff --git a/modules/utils/agenix.nix b/modules/utils/agenix.nix index b6feb64..fb2a7a5 100644 --- a/modules/utils/agenix.nix +++ b/modules/utils/agenix.nix @@ -31,6 +31,13 @@ symlink = false; }; + glrwth_tuda = { + file = ../../secrets/glrwth_token.age; + path = "/home/rhea/.ssh/id_glrwth_tuda"; + owner = "rhea"; + symlink = false; + }; + etwas_sign_key = { file = ../../secrets/sign_etwas.age; path = "/home/rhea/.ssh/etwas_sign_key"; diff --git a/secrets/glrwth_token.age b/secrets/glrwth_token.age new file mode 100644 index 0000000000000000000000000000000000000000..364858a1d1cb9d4cfcca29be00392cea93a03fe4 GIT binary patch literal 623 zcmV-#0+9V-XJsvAZewzJaCB*JZZ2YeGvyZE0|LYIZMBWpGGZZcas0MQBJ)K}8C2aAi$SR5o>5 za(Ov4Pf zZpb_q#%8jF%?BoEV6y}403ofV7W;n<4>`$+3BtU(SGS6+RmmsxvF^c?)Y=mD6LCJB zss#iw{*bY~zFM-WSO9Gk3iN~&m^OGX@w2tX(r5epjLgG+fshybmGu0| z(d#RXr0gm~US=!7w3F8TTf0B)x{Fz3@W$$A$O1~E)FKK z49nq{3J_ELzPae3k6iQTnB~RkCjABxD7y$l{_y91c1D~>xKP$fh|(Iz+eiPdh_0v zEjh_KbnQL2j7Gg`eK|x#a)zBeJ9Od0pNwH&v@JLd2)dW$U{^Kpn|SlZVJxNQ+^~D) z_OR?%I|+KBZ{FCYO!}ZRRuO?t3crEDs0>AkBq}8F7>(Cn7ptl6m