Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
2025-03-06 13:33:37 +00:00
parent 98a44e8bf6
commit 5566bc3677
4 changed files with 132 additions and 9 deletions

View File

@@ -36,13 +36,9 @@ in
privateKeyFile = config.sops.secrets."wireguard".path;
table = "wireguard";
postSetup = [
"${ip} rule add from ${jupiterPublicIPv4} table ${table}"
];
postSetup = [ "${ip} rule add from ${jupiterPublicIPv4} table ${table}" ];
postShutdown = [
"${ip} rule del from ${jupiterPublicIPv4} table ${table}"
];
postShutdown = [ "${ip} rule del from ${jupiterPublicIPv4} table ${table}" ];
peers = [
{