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" = {