From 564bcc9bb849bb00cd67bd8c310467fd8f4e51c0 Mon Sep 17 00:00:00 2001 From: Maxiem Geldhof Date: Thu, 23 Oct 2025 15:27:53 +0200 Subject: [PATCH] Add selene hetzner key --- keys/hetzner.priv | Bin 0 -> 962 bytes keys/secrets.nix | 1 + .../servermodules/wireguard/wireguard-server.nix | 2 +- systems/macbook/users.nix | 4 ++++ systems/selene/users.nix | 6 ++++++ 5 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 keys/hetzner.priv diff --git a/keys/hetzner.priv b/keys/hetzner.priv new file mode 100644 index 0000000000000000000000000000000000000000..ab405cf4decbeebfc44af91d11b927d03f372bc0 GIT binary patch literal 962 zcmYdHPt{G$OD?J`D9Oyv)5|YP*Do{V(zR14F3!+RO))YxHMCUlHTMtkO;^Y%H8e|e zFAK`7s5J5O%=LFFN;Qu#(XVthPYjH#Dm2Rp(f9Gs$d2$ycjYQ5j@(VW$ zb4_&gHw+DRPIWIVG4hBsH8Au{ta5iObumaX$w#*>J-9GAyj-Cur#vIH+&LpmKg7i- zG{iJ0I4aS_Am39vH!IuKJJ;JNs3IgsKdRg-%#+KpBqFcOt<=@C&?&hxyvWPLB0bsP zD=pQ+CB(-sz~4B;~I%oW|X9Ji9J+&~2*55ICh-@H-}V`JyiGGqTd3k!ol z!+dT1Aj8aLec$X1*HqU~%M{~sCtoff18sdr?d*cWz$AC4jKI8tvJlJAV&^D>Tu0aN z5=WoPfV4;tZRcXw3JY}GoV|R!0@D@3-9qxS3N4+qL&H-FJ;KV<^D5KyL$cEowR4OE zih`0YLql`?6LTsmLL9k*N>hxA1Kdqg93wq~T#_#|C7hUek&oH6*E)TJ9m8wTP13?((d4)#m%)1eiy6eeBzk-$(`f= zi~SX)4U>6dq7=VQDK8b>o_fc>_p|=4RV@e3J~durboiH+hRLkD&F=Qgrj&1ITrB4I zUSvtr=40;H<@co~$(NVR__?;^%bnCEvN{us_cOU|-fghnulD~}h2!4&&iNNt`F`A- z+R=Dop5U~bC9PU3?=l(2%uvjDXw3Sgz+Lt2bkQG|6soN<51qHlTNnu>6?(?+rCPZtERoJ0~$swDT-0eA9fcZh3Xu`PHkslh=IL zREpEvY4cKJW%Ic}|;Z-t*pWxeV||&zSozkeWJ>9L7^aV6t=Flq(FXynpnUuQ literal 0 HcmV?d00001 diff --git a/keys/secrets.nix b/keys/secrets.nix index 3434403..a33444d 100644 --- a/keys/secrets.nix +++ b/keys/secrets.nix @@ -10,4 +10,5 @@ in "master.priv".publicKeys = macbook ++ master; "wg-selene".publicKeys = macbook ++ selene ++ master; "wg-macbook".publicKeys = macbook ++ master; + "hetzner.priv".publicKeys = macbook ++ selene ++ master; } \ No newline at end of file diff --git a/modules/servermodules/wireguard/wireguard-server.nix b/modules/servermodules/wireguard/wireguard-server.nix index 797f9b0..96cbfb4 100644 --- a/modules/servermodules/wireguard/wireguard-server.nix +++ b/modules/servermodules/wireguard/wireguard-server.nix @@ -53,7 +53,7 @@ in peers = [ # List of allowed peers. - (import ../../systems/macbook/wireguard.nix).peerConfig + (import ../../../systems/macbook/wireguard.nix).peerConfig ]; }; }; diff --git a/systems/macbook/users.nix b/systems/macbook/users.nix index df3810e..038f488 100644 --- a/systems/macbook/users.nix +++ b/systems/macbook/users.nix @@ -13,6 +13,10 @@ let programs.zsh = (import ../../modules/usermodules/zsh.nix).programs.zsh; programs.git = (import ../../modules/usermodules/git.nix).programs.git; + + programs.ssh.matchBlocks.ren = { + + }; }; in { diff --git a/systems/selene/users.nix b/systems/selene/users.nix index 224c175..7bf2c37 100644 --- a/systems/selene/users.nix +++ b/systems/selene/users.nix @@ -14,4 +14,10 @@ "networkmanager" ]; }; + + age.secrets.hetzner-key = { + file = ../../keys/hetzner.priv; + owner = "selene"; + }; + }