From b59f4084c0774b584e3fce8b1b4c911877e80383 Mon Sep 17 00:00:00 2001 From: kalipso Date: Sat, 15 Nov 2025 13:39:55 +0100 Subject: [PATCH] [fanny] set wg initrd key --- machines/fanny/configuration.nix | 2 ++ machines/modules/malobeo/peers.nix | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/machines/fanny/configuration.nix b/machines/fanny/configuration.nix index c09cff5..29a7490 100644 --- a/machines/fanny/configuration.nix +++ b/machines/fanny/configuration.nix @@ -115,6 +115,8 @@ in }; }; + boot.initrd.secrets."/etc/secrets/30-wg-initrd.key" = "/etc/wireguard/wg.private"; + services.malobeo.vpn = { enable = true; name = "fanny"; diff --git a/machines/modules/malobeo/peers.nix b/machines/modules/malobeo/peers.nix index 9db619e..c30fc04 100644 --- a/machines/modules/malobeo/peers.nix +++ b/machines/modules/malobeo/peers.nix @@ -49,7 +49,7 @@ address = "10.100.0.102"; allowedIPs = [ "10.100.0.102/32" ]; #TODO: UPDATE - publicKey = "3U59F6T1s/1LaZBIa6wB0qsVuO6pRR9jfYZJIH2piAU="; + publicKey = "h1A2yt7OQ5EJIilC8tQg203u27o6J6/c+Kd/pZ4UWAY="; }; "backup0" = {