From 78f401306143092c0f43aea7763c67907ae72ff6 Mon Sep 17 00:00:00 2001 From: EinEtwas Date: Wed, 23 Oct 2024 23:12:41 +0200 Subject: [PATCH] feat: configure my own git host :3 --- home/default.nix | 6 ++++++ home/ssh.nix | 7 +++++++ secrets/gcd_etwas.age | Bin 0 -> 623 bytes secrets/secrets.nix | 1 + 4 files changed, 14 insertions(+) create mode 100644 secrets/gcd_etwas.age diff --git a/home/default.nix b/home/default.nix index f46fc54..aa598ca 100644 --- a/home/default.nix +++ b/home/default.nix @@ -16,6 +16,12 @@ owner = "rhea"; symlink = false; }; + age.secrets.gcd_etwas = { + file = ../secrets/1bvps.age; + path = "/home/rhea/.ssh/id_gcd_etwas"; + owner = "rhea"; + symlink = false; + }; nix.extraOptions = '' !include ${config.age.secrets.access-tokens-github.path} diff --git a/home/ssh.nix b/home/ssh.nix index ae6029e..db439dd 100644 --- a/home/ssh.nix +++ b/home/ssh.nix @@ -9,6 +9,13 @@ hostname = "178.254.43.196"; identityFile = [ "/home/rhea/.ssh/id_1bvps" ]; }; + "gcd-etwas" = { + host = "gcd-etwas"; + hostname = "git.catgirl.dog"; + identityFile = [ "/home/rhea/.ssh/id_gcd_etwas" ]; + user = "git"; + port = 222; + }; }; }; } \ No newline at end of file diff --git a/secrets/gcd_etwas.age b/secrets/gcd_etwas.age new file mode 100644 index 0000000000000000000000000000000000000000..862078d58aaa1ed094b9c44dda22b96ffdc629dd GIT binary patch literal 623 zcmV-#0+9V-XJsvAZewzJaCB*JZZ2oeE%Y0lNin2h(g@N8^fEsE^BLzQ1ecO2}oti24WLSrEQ2O32)S?z?qeKOpJ<`2%e`u2$nXW}~`ozzl zb2@7798|m+q6h`_XaN2P!E{EKE;HRRZ3}Pn01`@p7CS;oMv^iK?P2h*F0Fpu5cN_6#Ji zGao5bkcBR=LMsP?a6RAxy9&c^xrDIced4RU$wD@5{)?C9PR;qtKLO(J4Lp@%5;$K? zGdk3B3*T+wE)kiHkXLP!zad!rAGw9M@m&t-MGUq`kmQ#2UFa1>Y#TI)I)-h>sS@Q# JVnUUyt_X%F56=Jq literal 0 HcmV?d00001 diff --git a/secrets/secrets.nix b/secrets/secrets.nix index c71314c..c3418ba 100644 --- a/secrets/secrets.nix +++ b/secrets/secrets.nix @@ -5,4 +5,5 @@ in { "gh.age".publicKeys = [ rhea-laptop ]; "1bvps.age".publicKeys = [ rhea-laptop ]; + "gcd_etwas.age".publicKeys = [ rhea-laptop ]; } \ No newline at end of file