From ce7fb7ddd3267291a8d692cc6381dad606288aa5 Mon Sep 17 00:00:00 2001 From: adikro Date: Mon, 15 Jun 2026 13:49:27 +0200 Subject: revamped proxy configs --- os/core/networking.nix | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'os/core/networking.nix') diff --git a/os/core/networking.nix b/os/core/networking.nix index d50d899..6cfe4ad 100644 --- a/os/core/networking.nix +++ b/os/core/networking.nix @@ -11,6 +11,25 @@ in options.os.core.network = { enable = lib.mkEnableOption "system-wide networking setup"; + ips = lib.mkOption { + type = lib.types.attrsOf lib.types.str; + default = { + router = "10.0.0.1"; + host = "10.0.0.2"; + vm1-opnsense = "10.0.0.3"; + vm2-gateway = "10.0.0.4"; + vm3-monitor = "10.0.0.5"; + vm4-media = "10.0.0.6"; + vm5-sandbox = "10.0.0.7"; + vm6-storage = "10.0.0.8"; + vm7-web = "10.0.0.9"; + vm8-mail = "10.0.0.10"; + vm9-relays = "10.0.0.11"; + vm10-mc = "10.0.0.12"; + }; + description = "Central registry of static IP allocations for the cluster."; + }; + profile = lib.mkOption { type = lib.types.enum [ "client" -- cgit v1.3