summaryrefslogtreecommitdiff
path: root/modules/wg/mgmt.nix
diff options
context:
space:
mode:
authorGrisha Shipunov2025-01-11 03:55:19 +0100
committerGrisha Shipunov2025-01-11 03:55:19 +0100
commit62e2519639faa250f43f9e80e69906a59d07a44e (patch)
tree08d662d7674904d566d2dd7ccf85affb9ddd7cd9 /modules/wg/mgmt.nix
parent595d4935de99cc2ff10be9eaddac498c7c38489f (diff)
delete legacy stuff and reformat
Diffstat (limited to 'modules/wg/mgmt.nix')
-rw-r--r--modules/wg/mgmt.nix20
1 files changed, 16 insertions, 4 deletions
diff --git a/modules/wg/mgmt.nix b/modules/wg/mgmt.nix
index 33f483e..64a55fd 100644
--- a/modules/wg/mgmt.nix
+++ b/modules/wg/mgmt.nix
@@ -4,11 +4,17 @@
oxalab.wg = [
{
networkName = "0xa-mgmt";
- CIDRs = [ "10.89.87.0/24" "fd31:185d:722e::/48" ];
+ CIDRs = [
+ "10.89.87.0/24"
+ "fd31:185d:722e::/48"
+ ];
hosts = {
"cloud" = {
- address = [ "10.89.87.1/24" "fd31:185d:722e::1/48" ];
+ address = [
+ "10.89.87.1/24"
+ "fd31:185d:722e::1/48"
+ ];
publicKey = "zKSaw+SXzWgi/T7ByXHqPk1XNXXapoQYB8UPMTRmhm0=";
privateKeyFile = config.sops.secrets."wg/0xa-mgmt".path;
endpoint = {
@@ -20,12 +26,18 @@
};
"toaster" = {
- address = [ "10.89.87.100/24" "fd31:185d:722e::100/48" ];
+ address = [
+ "10.89.87.100/24"
+ "fd31:185d:722e::100/48"
+ ];
publicKey = "H+WeYIBdX7ZHwkgm4BGnF0HF0JULkxyNMcvCviHhmks=";
privateKeyFile = config.sops.secrets."wg/0xa-mgmt".path;
};
"minime" = {
- address = [ "10.89.87.10/24" "fd31:185d:722e::10/48" ];
+ address = [
+ "10.89.87.10/24"
+ "fd31:185d:722e::10/48"
+ ];
publicKey = "zN2Dr/ZGMh1Ftparszp22Qnbz2ISJU12iDVatebOHUE=";
privateKeyFile = config.sops.secrets."wg/0xa-mgmt".path;
};