Add Oracle VM to Wireguard

This commit is contained in:
Jimbo 2024-09-11 21:58:40 -04:00
parent 05bccbbe2d
commit 31f14b1578
3 changed files with 5 additions and 1 deletions

View file

@ -4,7 +4,7 @@
domain = "pics.${outputs.secrets.jimDomain}"; domain = "pics.${outputs.secrets.jimDomain}";
secretFile = pkgs.writeText "appkey" outputs.secrets.pixelfedKey; secretFile = pkgs.writeText "appkey" outputs.secrets.pixelfedKey;
settings = { settings = {
APP_NAME = "Jimbofed"; APP_NAME = ''"Jimbo's Pixelfed"'';
INSTANCE_DESCRIPTION = ''"The Jimbosfiles Pixelfed Instance"''; INSTANCE_DESCRIPTION = ''"The Jimbosfiles Pixelfed Instance"'';
INSTANCE_CONTACT_EMAIL = "jimbo@${outputs.secrets.jimDomain}"; INSTANCE_CONTACT_EMAIL = "jimbo@${outputs.secrets.jimDomain}";
OPEN_REGISTRATION = true; OPEN_REGISTRATION = true;

View file

@ -25,6 +25,10 @@ in {
publicKey = outputs.secrets.wirePixel9Pub; publicKey = outputs.secrets.wirePixel9Pub;
allowedIPs = [ "10.100.0.2/32" ]; allowedIPs = [ "10.100.0.2/32" ];
} }
{ # Oracle VM
publicKey = outputs.secrets.wireOraclePub;
allowedIPs = [ "10.100.0.3/32" ];
}
]; ];
}; };
}; };

Binary file not shown.